Forum Discussion
Sven_89244
Nimbostratus
Aug 27, 2009Trying Cookie persistance
Hello to all,
I've trying to implement a cookie-based persistance.
The scenario is:
The client asks webserver with a /GET /es? and was balanced.
If they ask GET /hr...
hoolio
Cirrostratus
Aug 27, 2009Hi Sven,
If you want to use cookie insert persistence for requests to a URI containing hrs, I'd suggest replacing the 'persist add uri [HTTP::cookie bigippersistance] 14400' line with 'persist cookie insert $cookie_name $timeout'.
What you're using will fail because the client won't have a persistence cookie on the first request. So [HTTP::cookie bigippersistance] will return a null length string and the persist command will fail with a runtime error.
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
