Forum Discussion
Osama_Friejeh_6
Mar 11, 2008Historic F5 Account
add cookie in http response after 302 redirect
Hi,
i am load balancing three web servers that require authentication and persistence. all work fine until certain links return a 302 redirect. the connection is load balanced to a new member and the user has to authenticate again.
i am using cookie insert as a persistence profile.oneconnect is enabled. looking at the cookies sent by the BIG-IP in response to the new URL, i cannot see the BIG-IP cookie sent to the browser, i think this is because the UL has changed.
i am looking for assistance on an iRule that would extract the BIG-IP inserted cookie and add to the http response of the 302 redirect.
something like this:
when HTTP_RESPONSE {
if { [HTTP::status] == 302 } {
...
commands to extract BIG-IP inserted Cookie
HTTP::cookie insert ...insert cookie with same value.
- Nicolas_Menant
Employee
Hi, - Osama_Friejeh_6Historic F5 Accountthanks for the super fast response.
- Nicolas_Menant
Employee
Hi,
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