Forum Discussion
Sergio000_19532
Nimbostratus
May 04, 2018Irule getting too many redirects
Hi, I am trying to make an Irule redirect to a URL if the tls version is 1 or 1.1, but I am getting too many redirects in the browser, I also try to insert a cookie so the redirect only appears one t...
Yann_Desmarest
Cirrus
May 04, 2018Hi Sergio,
First, the cookie insert command will insert a cookie in the request not the response you built with HTTP::redirect.
Instead, You should switch to HTTP::respond and add the cookie as a header in this command. There is many examples on devcentral you can inspire yourself.
Then, HTTP_RESPONSE event is triggered for response received from backend. Response generated by F5 itself are not accessible through this event.
hope it helps
Yann
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
