Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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.