Forum Discussion
Feb 09, 2011
Thanks Aaron. If I wanted to delete a cookie from the client machine would I do that in the request or the response function?
Also when I display the list of cookies in the "http_response" I get the expected results in the log, but when I do a check for them using the code below, it doesn't return true and never logs:
when HTTP_RESPONSE {
foreach cookie [HTTP::cookie names] {
log local0. "Cookie name: $cookie"
}
if { ([HTTP::cookie exists "sso"]) and ([HTTP::cookie exists "portal") } {
log local0. "Both portal and sso cookies exist!!!!"
}
}
Let me know your thoughts.
Thanks.
Regards,
TRX