Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Remove Cookie from Request Header |
|
Author |
|
adb_981
Joined: 17 Sep 2014 Posts: 2 Location: USA, St. Paul
|
Posted: Thu 11 Dec '14 18:35 Post subject: Remove Cookie from Request Header |
|
|
Hello,
I am using 2.2.29 in Windows.
Trying to remove one cookie in a request header before passing the request to the application, but having trouble. The cookie is in the middle of the request header.
Anyone have success on doing something similar to that in the past? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 18 Dec '14 12:17 Post subject: |
|
|
Code: | RequestHeader unset Cookie |
This will strip all cookies from the request. I'm not sure if its possible to remove just a particular cookie using this technique.
Alternatively, you can stop cookies being passed back to the client using:
Code: | Header unset Set-Cookie |
|
|
Back to top |
|
|
|
|
|
|