Java Mailing List Archive

http://www.junlu.com/

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

Re: Sessions and clients

Christopher Schultz

2004-01-14

Replies:

Ralph,

>>Is there any way to have the second servlet have access to the same
>>session data that the first one has?
>
> Just include the session id in the request.
> (As query parameter or as form field)

This will work as long as you are submitting the request to the same
server; if it's going to another server, you'll have to make sure that
you use some kind of session replication.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



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