logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Remove Cookie from Request Header
Author
adb_981



Joined: 17 Sep 2014
Posts: 2
Location: USA, St. Paul

PostPosted: Thu 11 Dec '14 18:35    Post subject: Remove Cookie from Request Header Reply with quote

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: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 18 Dec '14 12:17    Post subject: Reply with quote

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


Reply to topic   Topic: Remove Cookie from Request Header View previous topic :: View next topic
Post new topic   Forum Index -> Apache