Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Sessionid duplication

Filip Hanik

2007-01-17

Replies:

while there is a risk for duplicate sessions being generated, we believe
it to be very very small.
What you can do is set jvmRoute in the <Engine> element to be unique for
each one, that makes it less likely to be duplicate.
Or you can come up with a better random algorithm, take a look at
org.apache.catalina.session.StandardManager

Filip

Eric Waite wrote:
> This has been addresses before I am sure, but I do not know where to
> find the answer.
> I have 3 Tomcat servers sitting behind a load balancer using sticky
> sessions.
>
> I do not have session replication working yet, the tomcats are
> standalone.
>
> How do I prevent and what are the chances that a duplicate session id
> is generated?
>
> Thanks in advance.
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.