Forum Discussion
Triggerman_1128
Nimbostratus
Mar 29, 2010Persistence based on Querystring
Howdy, we would like to persist based on a querystring. However, there would be two sources (clients) with the same querystring.
For example:
1. client one sends a request with a unique Querystring with name SessionID.
2. subsequent requests need to persist to the same responding web server.
3. client two sends the same querystring (SessionID) to finalise the transaction; therefore it needs to be sent to the same web server responded to above requests.
Is this technically feasible?
If not, the other option is to add the Querystring in the HTTP HEADERS but when it comes to step 3 (client two), it will send the SessionID as a querystring and we can't change this as this is a third party app.
Any assistance is appreciated.
- hoolio
Cirrostratus
Hi,when HTTP_REQUEST { Check if query string parameter named SessionID has a value http://devcentral.f5.com/wiki/default.aspx/iRules/uri__query set sid [URI::query "?&[HTTP::query] &SessionID] if {$sid ne ""}{ Persist off of the session ID value persist uie $sid } }
- Triggerman_1128
Nimbostratus
Hi 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