users@glassfish.java.net

Re: jsessionidversion changes on each request

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Tue, 24 Mar 2009 16:44:04 -0700

Hi,

On 03/24/09 11:27 AM, glassfish_at_javadesktop.org wrote:
> 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.
>

See https://glassfish.dev.java.net/issues/show_bug.cgi?id=5541
("allow ability to relax version semantics per web app")

Jan

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>