How to delete persistent cookies using the CA API Gateway

Document ID:  TEC1012677
Last Modified Date:  08/09/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA API Management Gateway

Releases

  • CA API Management Gateway:Release:8.4
  • CA API Management Gateway:Release:8.4.00
  • CA API Management Gateway:Release:8.4.01
  • CA API Management Gateway:Release:9.0.00
  • CA API Management Gateway:Release:9.1.00

Components

  • API GATEWAY:APIGTW
Summary:

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

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >