users@glassfish.java.net

jsessionidversion changes on each request

From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Mar 2009 11:27:40 PDT

Hi,

I have really dynamic site and there is a request almost every second. Some users open few pages on tabs, so there is one http session and few request per second. No problem to get them in wrong order and JSESSIONIDVERSION with lower number comes late. Session is gone, user logged out :(.

Is there a way to force glassfish to not to change JSESSIONIDVERSION cookie on each request?
I have found somewhere in glassfish docs that it is supposed to increment after each request so I'm not surprised that it increments, but I cannot believe there is no configuration to make it work.

I changed application so session attributes are set on first request only and I'm not changing them till end of session. Of course it does not help :(

Any help?

Regards,
Adam
[Message sent by forum member 'adeboinfo' (adeboinfo)]

http://forums.java.net/jive/thread.jspa?messageID=338777