Forum Discussion
Stanislas_Piro2
Feb 11, 2019Cumulonimbus
The remove command will remove the cookie from the response, not ask the client to remove it from it’s cache...
To remove a cookie from client cache, you must set an expiration time before current time... the best practice is to set it to 1970!
when HTTP_REQUEST {
...
if { [active_members http_pool] = 0 } {
HTTP::respond 302 noserver location "https://www.mywebsite.com" Set-Cookie "sessionID=path=/; Expires=Thu, 01-Jan-1970 00:00:00 GMT"
}
}