Ashish_Gupta_15
Dec 16, 2015Nimbostratus
Clear browser cache upon redirect
Use cases :-
a) Typically user comes to the VIP A and the request is processed by the back end server. b) If the user does not come to the VIP A with the cookie (exception case), I wanted to redirect the user to a different VIP B.
Below is the iRule in VIP A and It does not redirect to the error page. Instead It shows up the cached page from the use case A. If I clear the cache and test the use case B with no cookie, It gets redirected to the error page.
How can I resolve this issue without having the user to clear the browser cache manually. when HTTP_REQUEST {
If cookie does not exist HTTP::redirect "${static::error_page_url}" } }
Thanks, Ashish