Forum Discussion
Eric_Waite_1046
Nimbostratus
Oct 06, 2006jsessionid uri vs. cookie
I am using the following rule to persist via jsessionId.
when CLIENT_ACCEPTED {
set add_persist 1
}
when HTTP_RESPONSE {
if { [HTTP::cookie exists "JID"] and $add_pe...
unRuleY_95363
Oct 19, 2006Historic F5 Account
In order for jsessionid persistence to work, you need to find the jsessionid in the first response and add a persistence record for it. The only challenge to not using cookies is looking/parsing for the persist key in the first responses body from the server. Cookies are easy since they are headers and we have commands to access them directly. You will need to collect the response and parse it for the jsessionid, so you can add the initial key to the table.
Mohamed_Lrhazi
Altocumulus
Sep 23, 2014Yes! No one seems to mention this key fact... even this solution document... erroneously suggests you dont need to find the actually session ID in the first response: http://support.f5.com/kb/en-us/solutions/public/7000/300/sol7392.html
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
