MDPF52_180608
Feb 02, 2015Nimbostratus
iRule delete cookie value on a 302 redirect
Hello DevCentral Community,
I want to ask you how I can re-initialize a cookie in order to clean the value in it, like:
If i click on the logout URI my cookie "Cookie_Name" value will change to an empty value.
All of this stuff must be executed in a HTTP::respond 302 like:
HTTP::respond 302 Location $redirecturi Set-Cookie {cookie_name="Cookie_name"; Path=/; Expires=Thurs, 01-Jan-1970 00:00:00 GMT;}
How i can accomplish this ? Is possible to force the expiration of the cookie if the cookie is a Session-based time expiration ?
Thanks in advance ,
M.