On Wed, 2007-03-28 at 16:32 -0400, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Nelson,
> 
> Nelson D. guerrero wrote:
> >> How are you checking to see if the session has changed? Are you looking
> >> at request.getSession().getSessionId()? Or are you looking at some
> >> particular object in your sessions to see if that has changed?
> > 
> > I'm using request.getSession().getId().
> 
> Okay. Are you using cookies or URL-rewriting in order to track sessions?
> Oh, and what is your session timeout?
> 
> - -chris

No, the developers are using cookies or URL-rewriting, is this the only
way that the sessions can replicate between them? 

I'm thinking on passing them this piece of code:

((HttpServletResponse)response).addCookie(new
Cookie("JSESSIONID",session.getId()));

That will surely help.   

Tomcat has the default timeout of 30 minutes.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to