Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've made some modifications on my user token and current session cookie makes server to redirect the request "in a way that will never complete".

The trick is to delog/relog, or wait for session cookie expiration. But that's not really "user friendly"....

Is there a way/command to expire existing cookie from the web server (Apache2) ?

share|improve this question
up vote 2 down vote accepted

Not in apache. The quick fix is to change the cookie name you use for the session. This will cause your application to to see them initially as new users and force everyone to login again.

share|improve this answer
This is because the cookies are managed by the CGI application, not apache. All apache does is pass their values to the CGI application. – Falcon Momot Apr 13 '12 at 20:59

Deleting cookie is setting same cookie with expiration date which is already in the past.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.