On 08/01/2010 09:44, Arnab Ghosh wrote:
> Dear Friends,
> 
> In that case -  suppose a session with a *D52869941C38BC234**CD9A940429C403A
> * Id is already present in context B (forwarded from context C ). Now a new
> request with same jsessionID came to context A . Then context A forwarded
> the request to context B .then will it override the existing session Id.

Nope, both requests would use the same session in context B. The chances
of this happening are slim to non-existant. Session IDs are generated
randomly.

> I have another question --------------
> If I comment the method - request.getsession(true) , in that case will there
> be any session??

It depends on a number of factors. Simplest way to find out is to try it.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to