liu4lin / memcached-session-manager

Automatically exported from code.google.com/p/memcached-session-manager
0 stars 0 forks source link

request.getSession(false) delay 3 Seconds #207

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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