Forum Discussion
Dmitriy_Tiper
Altocumulus
Aug 27, 2021Need to delete specific cookie from client browser when APM session is closed
Hi, I need to delete specific cookie from client browser when APM session is closed. I found https://devcentral.f5.com/s/question/0D51T00006i7cT0/hot-to-delete-a-particular-cookiejsessionid-whe...
Dmitriy_Tiper
Altocumulus
Aug 30, 2021Thank you for suggestion, Dario but it is the same problem. When I am trying to create suggested iRule, F5 tells me: command is not valid in current event context (ACCESS_SESSION_CLOSED)][HTTP::header insert "Set-Cookie" "MyCookie=deleted;expires=Thu, 01-Jan-1970 00:00:01 GMT;path=/"]
It is pretty much aligned with what documentation says about ACCESS_SESSION_CLOSED event The iRule commands which require a flow context (for e.g. TCP, HTTP and SSL commands) can not be used in this event"
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
