bossadvisors / memcached-session-manager

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

Session data is coming as null for 2 servers and 2 memcache instances. #165

Closed GoogleCodeExporter closed 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 Iam 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
"
    />

Previously without clustering Env we are able to get the data in multiple tabs.

Now In clustered Env when Iam searching with different search criterias in 
multiple tabs Iam able to get the data in one tab and Iam getting session as 
null for other tab in same browser after the results page got displayed in two 
tabs. There are ajax calls when the page gets displayed, so now problem is we 
are unable to get the session data for the second search results after the page 
is loaded which in turn leads to empty data issue even after using the memcache.

If any one could help in this would be great.

Thanks.

Original issue reported on code.google.com by run2chak...@gmail.com on 27 May 2013 at 9:30

GoogleCodeExporter commented 9 years ago
Please don't double post issues. Closing this as a duplicate of #164

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