Forum Discussion
Clear browser cache upon redirect
Hi Ashish,
your description mentioned that you want to redirect the user if the cookie is "not" present. But the provided example code is build to redirect if the cookie "is" present? Could that be the tiny glitch that causes the trouble?
HTTP_REQUEST {
if { not ( [HTTP::cookie exists $cookie_name] ) } then {
HTTP::redirect "${static::error_page_url}"
}
}BTW: To manipulate the caching behavior, you have to make sure that the caching directives from the A.) websites original response are getting stripped/overwritten before sending to the client. Could you provide a captured HTTP-response header for this request to see which header needs to considered? (strip possible cookie information before posting)
Cheers, Kai
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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