Forum Discussion
Will_Petersen_9
Nimbostratus
Oct 26, 2006Persistence on 2 different cookies
Trying to persist a connection accross services and we currently have 2 cookies and since the cookie hash profile only allows me to specify one, I have created the following iRule, however it doesn't like the any service piece, but I don't know how else to do it.
when HTTP_REQUEST {
if { [HTTP::cookie exists "JSESSIONID"] } {
set cookie_s [HTTP::cookie "JSESSIONID"]
persist add uie $cookie_s any service 2400
}
if { [HTTP::cookie exists "HRGENERALPURPOSECOOKIE"] } {
set cookie_s [HTTP::cookie "HRGENERALPURPOSECOOKIE"]
persist add uie $cookie_s any service 2400
}
}
1 Reply
- Deb_Allen_18Historic F5 AccountThis post seems to have the answer you need, but it's not clear whether the proposed solution actually worked...
http://devcentral.f5.com/Default.aspx?tabid=28&view=topic&forumid=5&postid=9909 (Click here)
I'm updating the wiki page with this detail.
Please post back & let us know if you have better luck.
/deb
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
