Forum Discussion
Marcus_Slawik_8
Mar 29, 2006Historic F5 Account
uie persistence cookie
Hello,
I have one VS with a pool with three servers listening on port 80.
I have to persist on a cookie from the servers.
The cookies name is "ASPSESSIONIDxxxxxxxx". The x's are changing from day to day, not from session to session. So the unique information is in the cookie a 26 character string. On this string I want to base the persistence on.
I don't know how to deal with the changing cookie names to read their content.
I hope somebody can help me.
Regards,
Marcus
- Marcus_Slawik_8Historic F5 AccountHi,
- Marcus_Slawik_8Historic F5 AccountDoes it matter if I use HTTP_REQUEST or HTTP_RESPONSE in this scenery?
- Colin_Walker_12Historic F5 AccountWell, the cookie is being set by the servers, hence the use of HTTP_RESPONSE above, but theoretically the next request should have that cookie attached as well, so it shouldn't matter much in this case, I don't believe.
- Marcus_Slawik_8Historic F5 AccountOK, what about this one to check out the cookie content and build a persistence on it:
- Colin_Walker_12Historic F5 AccountInteresting. If there are multiple cookies that match, then findstr should theoretically still use the first match. I'd have to test this to see the definite results, though.
- Deb_Allen_18Historic F5 Accountnot sure if you solved this, but I noticed you don't set the optional timeout in your persist statement.
- Marcus_Slawik_8Historic F5 AccountHi all,
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