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) ?


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.

  • 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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