AArhin / memcached-session-manager

Automatically exported from code.google.com/p/memcached-session-manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

request.getSession(false) delay 3 Seconds

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1.one controller login success, create session and setAttribute(), then 
redirect to main page.
2. before enter main page, security interceptor check session, but session is 
null, wait 3 Seconds later, security check is ok.
3. when use tomcat7 standard session, everything is ok.

What version of the product are you using? On what operating system?
memcached-session-manager 1.8.1 + tomcat7


Original issue reported on code.google.com by hix...@gmail.com on 29 May 2014 at 3:42

Sounds like an issue with your infrastructure. Can you reproduce this with 
memcached running on localhost?

Original comment by martin.grotzke on 15 Jun 2014 at 10:36

Sounds like you're using non-sticky sessions, are you using 
sessionBackupAsync="false"? (you should try this)

Original comment by martin.grotzke on 15 Jun 2014 at 10:39