liu4lin / memcached-session-manager

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

Memcache-Tomcat integration is not working for multiple tabs. #164

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I am having clustering environment with 2 memcache instances and 2 servers and 
added the jars in tomcat lib directory which are available in the site 
https://code.google.com/p/memcached-session-manager/wiki/SetupAndConfiguration  

While disabling the cookies am getting the data from the session.

problem:
========
But with enabling cookies am not getting data from the session with multiple 
tabs on the same browser hitting at the same time.

Expected:
========
It should work with enabling/Disabling cookies.

Configuration in context.xml of tomcat:

<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
    memcachedNodes="n1:localhost:11211"
    sticky="false" 
    operationTimeout="60000" 
    sessionBackupTimeout="300000"
    sessionBackupAsync="false"
    lockingMode="none"
transcoderFactoryClass="de.javakaffee.web.msm.JavaSerializationTranscoderFactory
"
    />

Previous without clustering able to get the data in multiple tabs.

When am searching with different search criterias in multiple tabs am able to 
get the data in one tab and am getting session as null for other tab in same 
browser.

Thanks.

Original issue reported on code.google.com by shaikirf...@gmail.com on 23 May 2013 at 1:25

GoogleCodeExporter commented 9 years ago
Issue 165 has been merged into this issue.

Original comment by martin.grotzke on 28 May 2013 at 12:41

GoogleCodeExporter commented 9 years ago
Can you prepare a simple example application that allows me to reproduce the 
issue so that I can debug? Maybe you can use (a fork of) 
https://github.com/magro/msm-sample-webapp/tree/simpleservlet (the 
simpleservlet branch) as a starting point.

Original comment by martin.grotzke on 28 May 2013 at 12:45

GoogleCodeExporter commented 9 years ago
Any update on this? Can you show which http requests (with http headers) are 
sent from different tabs?

Original comment by martin.grotzke on 14 Jun 2013 at 10:14

GoogleCodeExporter commented 9 years ago
Update: I just cannot reproduce this and thus need more information.

Original comment by martin.grotzke on 15 Jun 2013 at 10:54

GoogleCodeExporter commented 9 years ago
Note2self: maybe related to issue #151

Original comment by martin.grotzke on 15 Jun 2013 at 11:29

GoogleCodeExporter commented 9 years ago
Issues are moved to github, this one is now 
https://github.com/magro/memcached-session-manager/issues/205

Original comment by martin.grotzke on 24 Aug 2015 at 5:06