Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Home
Communities
All Communities
Application Networking and Security
Carbon Black
Enterprise Software
Mainframe Software
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
VMware Explore 2025
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware Cloud Foundation Events
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
Layer7 API Management
Private Community
View Only
Community Home
Threads
17.6K
Library
927
Blogs
126
Events
0
Members
1.4K
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
How to delete all cookies from request
Jump to
Best Answer
Uday Reddy
Jun 02, 2021 10:25 AM
Hi Team, we have a requirement to delete all cookies from request before routing to back end . Note ...
Zhijun He
Jun 02, 2021 08:21 PM
The cookie is in request header, just use header assertion to remove the cookie header, https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/policy-assertions/assertion-palette/message-routing-assertions/manage-transport-properties-headers-assertion.html ...
Uday Reddy
Jun 03, 2021 03:01 AM
HI, Than you for reply. the remove header assertion will work when we know the header name of the cookies, ...
Deactivated User
Jun 03, 2021 05:04 AM
Best Answer
${request.http.cookienames} or ${response.http.cookienames} to get all the cookies the recursively ...
Barry Stern
Jun 03, 2021 10:23 AM
An alternative approach which would be simpler, would be to create a new message context variable ...
Zhijun He
Jun 03, 2021 09:03 PM
Dear Uday, The header name is cookie. All the cookies are in the value of header cookie. Regards, ...
1.
How to delete all cookies from request
Recommend
Uday Reddy
Posted Jun 02, 2021 10:25 AM
Reply
Reply Privately
Options Dropdown
Hi Team,
we have a requirement to delete all cookies from request before routing to back end .
Note : we dont know the cookie name, it will be different for each request.
--Uday
2.
RE: How to delete all cookies from request
Recommend
Broadcom Employee
Zhijun He
Posted Jun 02, 2021 08:21 PM
Reply
Reply Privately
Options Dropdown
The cookie is in request header, just use header assertion to remove the cookie header,
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/policy-assertions/assertion-palette/message-routing-assertions/manage-transport-properties-headers-assertion.html
Regards,
Mark
Original Message
Original Message:
Sent: 06-02-2021 10:24 AM
From: Uday Reddy
Subject: How to delete all cookies from request
Hi Team,
we have a requirement to delete all cookies from request before routing to back end .
Note : we dont know the cookie name, it will be different for each request.
--Uday
3.
RE: How to delete all cookies from request
Recommend
Uday Reddy
Posted Jun 03, 2021 03:01 AM
Reply
Reply Privately
Options Dropdown
HI,
Than you for reply.
the remove header assertion will work when we know the header name of the cookies, but this case we dont' know the header name of the cookies and the name will be dynamic.
--Uday
Original Message
Original Message:
Sent: 06-02-2021 08:20 PM
From: Zhijun He
Subject: How to delete all cookies from request
The cookie is in request header, just use header assertion to remove the cookie header,
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/policy-assertions/assertion-palette/message-routing-assertions/manage-transport-properties-headers-assertion.html
Regards,
Mark
Original Message:
Sent: 06-02-2021 10:24 AM
From: Uday Reddy
Subject: How to delete all cookies from request
Hi Team,
we have a requirement to delete all cookies from request before routing to back end .
Note : we dont know the cookie name, it will be different for each request.
--Uday
4.
RE: How to delete all cookies from request
Best Answer
Recommend
Deactivated User
Posted Jun 03, 2021 05:04 AM
Reply
Reply Privately
Options Dropdown
${request.http.cookienames}
or
${response.http.cookienames}
to get all the cookies the recursively use run each assertion and update/delete the cookies
------------------------------
Pre-Sales Consultant
CA Southern Africa
------------------------------
Original Message
Original Message:
Sent: 06-03-2021 03:00 AM
From: Uday Reddy
Subject: How to delete all cookies from request
HI,
Than you for reply.
the remove header assertion will work when we know the header name of the cookies, but this case we dont' know the header name of the cookies and the name will be dynamic.
--Uday
Original Message:
Sent: 06-02-2021 08:20 PM
From: Zhijun He
Subject: How to delete all cookies from request
The cookie is in request header, just use header assertion to remove the cookie header,
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/policy-assertions/assertion-palette/message-routing-assertions/manage-transport-properties-headers-assertion.html
Regards,
Mark
Original Message:
Sent: 06-02-2021 10:24 AM
From: Uday Reddy
Subject: How to delete all cookies from request
Hi Team,
we have a requirement to delete all cookies from request before routing to back end .
Note : we dont know the cookie name, it will be different for each request.
--Uday
5.
RE: How to delete all cookies from request
Recommend
Broadcom Employee
Barry Stern
Posted Jun 03, 2021 10:23 AM
Reply
Reply Privately
Options Dropdown
An alternative approach which would be simpler, would be to create a new message context variable with the request.mainpart as the body to use to route to the backend.
Barry
Original Message
Original Message:
Sent: 06-03-2021 05:03 AM
From: Ronald Dsouza
Subject: How to delete all cookies from request
${request.http.cookienames}
or
${response.http.cookienames}
to get all the cookies the recursively use run each assertion and update/delete the cookies
------------------------------
Pre-Sales Consultant
CA Southern Africa
Original Message:
Sent: 06-03-2021 03:00 AM
From: Uday Reddy
Subject: How to delete all cookies from request
HI,
Than you for reply.
the remove header assertion will work when we know the header name of the cookies, but this case we dont' know the header name of the cookies and the name will be dynamic.
--Uday
Original Message:
Sent: 06-02-2021 08:20 PM
From: Zhijun He
Subject: How to delete all cookies from request
The cookie is in request header, just use header assertion to remove the cookie header,
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/policy-assertions/assertion-palette/message-routing-assertions/manage-transport-properties-headers-assertion.html
Regards,
Mark
Original Message:
Sent: 06-02-2021 10:24 AM
From: Uday Reddy
Subject: How to delete all cookies from request
Hi Team,
we have a requirement to delete all cookies from request before routing to back end .
Note : we dont know the cookie name, it will be different for each request.
--Uday
6.
RE: How to delete all cookies from request
Recommend
Broadcom Employee
Zhijun He
Posted Jun 03, 2021 09:03 PM
Reply
Reply Privately
Options Dropdown
Dear Uday,
The header name is cookie.
All the cookies are in the value of header cookie.
Regards,
Mark
Original Message
Original Message:
Sent: 06-03-2021 03:00 AM
From: Uday Reddy
Subject: How to delete all cookies from request
HI,
Than you for reply.
the remove header assertion will work when we know the header name of the cookies, but this case we dont' know the header name of the cookies and the name will be dynamic.
--Uday
Original Message:
Sent: 06-02-2021 08:20 PM
From: Zhijun He
Subject: How to delete all cookies from request
The cookie is in request header, just use header assertion to remove the cookie header,
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/policy-assertions/assertion-palette/message-routing-assertions/manage-transport-properties-headers-assertion.html
Regards,
Mark
Original Message:
Sent: 06-02-2021 10:24 AM
From: Uday Reddy
Subject: How to delete all cookies from request
Hi Team,
we have a requirement to delete all cookies from request before routing to back end .
Note : we dont know the cookie name, it will be different for each request.
--Uday
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2019. All rights reserved.
Powered by Higher Logic