bcxs051 / memcached-session-manager

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

The second application "sess" cannot show the value setted by using the application "testSession" secondtime,it can only show the value setted by the first time. the session is is the same #212

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Configuring the tomcat,set the sticky=true
2.Deploying two Applications:  testSessin.war  and  sess.war
3.Access the application testSession and set the key/value through the jsp 
page,for example key is 7 and value is 7
4  Access the application sess,i can see the key and value setted in the step 
3,in other word,i can see the 7 in the jsp page.

5. Access the appliction "testSession" again,  i add a set of key and value,for 
example i set the key and value the same is 9.  in this application's  jsp page 
 we can see two set of key and value,they are 7/7 and 9/9.

6. Access the application "sess" again, but we can only sess the 7/7  in the 
jps page, the 9/9 cannot show. 

What is the expected output? What do you see instead?

7/7 ,9/9
What version of the product are you using? On what operating system?
memcached-session-manager-1.6.0.jar
memcached-session-manager-tc6-1.6.0.jar
spymemcached-2.7.3.jar

Please provide any additional information below.

when i set the sticky=false, i can see the 7/7 and 9/9 in the jsp page of 
application  
"sess" ,  But when i set the sticy=true,i can only see the value setted by the 
application first time.  I also use telnet commond to sees the content in the 
session 
stored in the memcached, the content is 7/7 an 9/9.  But why the 9/9 cannot 
show in the jsp page in the application.

Original issue reported on code.google.com by guyi1...@gmail.com on 23 Sep 2014 at 8:43

GoogleCodeExporter commented 9 years ago
Can you check if both session instances are the same (in terms of idprinting 
System.identityHashCode(session)?

Original comment by martin.grotzke on 21 Oct 2014 at 1:14

GoogleCodeExporter commented 9 years ago
Can you also update msm to the latest version? 

Original comment by martin.grotzke on 21 Oct 2014 at 1:19