Forum Discussion
nsgguy245_16208
Nimbostratus
Jun 26, 2014Forwarding BigIP Cookies on Redirect
I need to setup an iRule for a redirect, but I want the redirect to pass along the cookie information. Is that done by default or do I need to include configuration details to do this? Thanks...
Kevin_Stewart
Employee
Jun 26, 2014You would want to use the HTTP::respond command and insert the "Set-Cookie" headers manually.
HTTP::respond 302 Location "someplace-else" "Set-Cookie" "foo=bar;path=/" "Set-Cookie" "test=blah;path=/"
Also consider that if you're redirecting to a different host, the browser will probably not honor these Set-Cookies.
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