You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Oke, Larry" <La...@Derwent.co.uk> on 2001/06/06 18:41:19 UTC

Unable to retreive session in servlets

I don't seem to expeience this problem under Windows.
When I send a HTTP POST to a servlet running under the latest Tomcat under
Solaris, I can't retrieve the current session using the method below

request.getSession( ) 

it always seem to create a new session.  



It works fine though if you use a JSP with the JSP tag :
useBean/scope=session, before forwarding to the servlet.
Is this a coding issue in my servlet or a bug of some sort with Tomcat?

Please help




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************