I wrote a servlet that stores some strings in a session, using putValue().
I can retrieve these strings using getValue() while the same servlet is
executing. When another servlet calls getValue() null is returned.
This is happening because the second servlet (which is a server-side
include) is getting a different session with getSession(true). Two sessions
are therefore coexisting in the server, both somehow corresponding to my
IP address.
Does anyone know how the second servlet can retrieve session data from the
first servlet?
The server is Apache and the engine is Jrun.
Thanks.
Fernando
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html