MDPF52_180608
May 27, 2015Nimbostratus
iRule delete cookie in HTTP REQUEST
Hello Community,
I'm facing in issue with the HTTP::respond 302 with a cookie removal. After the logout procedure i can see a blank page without any redirect, maybe the syntax is wrong. Can anyone help me?
Below you can find the code:
when HTTP_REQUEST { set redirect https://domainsite.com/vdesk/hangup.php3 set content "Location $redirect Set-Cookie \"ASP.NET_SessionId=;path=/; HttpOnly; domain=domainsite.com; Expires=Thu, 01-Jan-1970 00:00:00 GMT\""
if { [HTTP::uri] contains "logout.xxx" } {
HTTP::respond 302 $content
} }
Thanks in advance,
Best Regards,
M.