Forum Discussion
JosephT
Jul 23, 2008Nimbostratus
CMBHATT, thanks for the reply. After speaking to some others, I learned that the "HTTP:cookie remove xxxx would not work with the HTTP_RESPONSE.
I also learned that the Cookie header is sent by clients on a request, and the Set-Cookie header is sent by the server on the response. What I actually needed to do was delete the Set-Cookie on the response.
My code above would have worked fine to delete cookies if I had used http_request
But in order to delete thet Set-Cookie response from the server, this is the code I used which worked great:
when HTTP_RESPONSE {
HTTP::header remove Set-Cookie
}
Thanks again for your effort!