magro / memcached-session-manager

A tomcat session manager that backups sessions in memcached and pulls them from there if asked for unknown sessions
Apache License 2.0
760 stars 346 forks source link

when I open a web page(contains static file request) it generated different session ids #371

Closed wangfeng1988 closed 6 years ago

wangfeng1988 commented 6 years ago

@magro when I open a web page(contains static file request) it generated different session ids. so when I login this website, I missed the session sometimes. environment: jdk1.7, tomcat-8.0.47, msm2.1.1, spymemcached-2.12.3, JavaSerialization my tomcat conf: 33333

here is the log: image

wangfeng1988 commented 6 years ago

It is so interesting that when I set requestUriIgnorePattern= ".*.(ico|png|gif|jpg|css|js)\?m.*" , It is working well. I don't know why. Look forward to your reply. Thanks.

magro commented 6 years ago

@wangfeng1988 sorry for the late response, and unfortunately I cannot explain your observations. Is this still relevant, or can we close this issue?