Layer 7 API Gateway: How to delete persistent cookies
searchcancel
Layer 7 API Gateway: How to delete persistent cookies
book
Article ID: 10446
calendar_today
Updated On: 09-05-2024
Products
CA API Gateway
Issue/Introduction
This article describes how cookies can be deleted via the Gateway 'Manage Cookie' assertion.
Environment
Release: All supported versions Component: API Gateway
Resolution
In our example, we would like to remove a cookie named userID in the domain example.com . Cookies can be removed by changing the expiration value to a date in the past.
Add the 'Manage Cookie' assertion to your policy
Set the following parameters, make sure to set the expiration date in the past.
Operation: Add or Replace
Name: <cookie name> (ie: userID)
Value: <value> (ie: test@example.com)
Domain: <cooke domain> (ie: .example.com)
Path: <path> (ie: /)
Expires: <set a date in the past> (ie: July 26, 2012)