How to delete persistent cookies using the CA API Gateway

Document ID : KB000010446
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

This article describes how cookies can be deleted via the Gateway 'Manage Cookie' assertion.

Instructions:

In our example we have a cookie named userID in the domain ca.com we would like to remove.

mail_from.png

1. Add the 'Manage Cookie' assertion to your policy

2. Set the following parameters, taking note to set the expiration date in the past.

   Operation: Add or Replace

   Name:     <cookie name>                (ie: userID)

   Value:     <value>                           (ie: test@ca.com)

   Domain:  <cooke domain>               (ie: .ca.com)

   Path:       <path>                            (ie: /)

   Expires: <set a date in the past>      (ie: July 26, 2012)

3. Save and Activate the policy

4. Invoke the endpoint

 

remove.png