Forum Discussion
Dmitriy_Tiper
Aug 27, 2021Altocumulus
Need 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...
Aug 27, 2021
Hello Dmitriy.
Try this code:
when ACCESS_SESSION_CLOSED {
HTTP::header insert "Set-Cookie" "MyCookie=deleted;expires=Thu, 01-Jan-1970 00:00:01 GMT;path=/"
}
Regards,
Dario.
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