Hi,

I've hit a weird problem with sessions.

I have a servlet acting as a mediator that uses the
RequestDispatcher.include() to pull in JSP files.
However I always end up with a new session every time.
session.isNew() always returns true. The docs indicate that:

"Returns true if the Web server has created a session but the client has
not yet joined. For example, if the server used only cookie-based
sessions, and the client had disabled the use of cookies, then a session =
would be new."

But I definitely have cookies enabled.

I changed the mediator so it performed the include on HTML files instead
of JSP and it all works fine i.e I get the same session object every time.

I'm running Tomcat on Apache 1.3.12

Any ideas would be really appreciated.

Many thanks

Graham

___________________________________________________________________________
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

Reply via email to