memcached-session-manager icon indicating copy to clipboard operation
memcached-session-manager copied to clipboard

how to invalidate a sessionId

Open 554943871 opened this issue 8 years ago • 1 comments

when I logout,the code is request.getSession().invalidate();

but the value of cookie JSESSIONID is not change,when I login again;

how can I invalidate the session in memcache, my code seems to only effect the local JVM

554943871 avatar Aug 28 '17 09:08 554943871

In fact msm should delete the cookie via an appropriate Set-Cookie header. It should also delete the session from memcached.

Please activate debug logging (https://github.com/magro/memcached-session-manager/wiki/SetupAndConfiguration#configure-logging) and share the related logs. Request/response http headers are also valuable for the analysis of this issue.

magro avatar Sep 02 '17 08:09 magro