Forum Discussion
daveg_20243
Oct 19, 2011Nimbostratus
Trouble removing cookie
Hi, So I'm attempting to remove a cookie, nothing to fancy. I've got this basic irule: when HTTP_REQUEST { HTTP::cookie remove "my-cookie" } ...
Oct 20, 2011
You can try something like the below in the HTTP Response event.
HTTP::respond 302 Location "http://$host/portal/site/erp/SAD/" Set-Cookie [format "%s=%s; domain=%s; path=/; Expires=%s" $portalCookie $host "" "Thu, 01-Jan-1970 00:00:00 GMT"]
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects