Forum Discussion
James_Hamoline_
Nimbostratus
Sep 22, 2005ReSelect on 500 Response
Hey guys,
One of our architects talked to you at PDC. I have been trying to find some documentation on the LoadBalance Reselect command that Colin Walker talked about but I have been unsuccessfu...
unRuleY_95363
Sep 26, 2005Historic F5 Account
I'm not sure that would help, since the BigIP actually load-balanced to the server and the server gave the 500 response. The LB_FAILED event wouldn't have triggered in this case.
What you would want to do is overwrite the persistence cookie in the redirect. Unfortunately, you need to specify the Set-Cookie for the persistence cookie at the same time you do the redirect and the redirect command doesn't support this. However, you can use the HTTP::respond command. Something like this is what you would want to do:
HTTP::respond 302 Location "http://www.youviphere.com" Set-Cookie2 "BIGipServermy_pool=; discard"Replace the BIGipServermy_pool with whatever your persistence cookie name is.
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