Forum Discussion
Albert__Tase_70
Nimbostratus
Jan 28, 2009persistance using Jsession ID
Hello
Need some help not sure it will even work but
would like to create an irule that uses Jsession id for persistance and then inserts it into the uri to maintain persistance based on the uri for apps that do not use cookies any ideas ?
thanks
- James_Quinby_46Historic F5 AccountYou might also consider inserting the jsession ID into a custom HTTP header rather than tacking it on to the end of the URI. In any case, have a look at the following:
when HTTP_REQUEST { if { [HTTP::cookie exists "JSESSIONID"] } { persist uie [HTTP::cookie "JSESSIONID"] } } when HTTP_RESPONSE { if { [HTTP::cookie exists "JSESSIONID"] } { persist add uie [HTTP::cookie "JSESSIONID"] } }
- hoolio
Cirrostratus
With jsessionid's, shouldn't the application detect whether the client supports cookies and insert the jsessionid in the URI's if the client doesn't support cookies?
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