Using request.getSession() with true or false doesn't seem to matter.  That
one session ID still doesn't match the others.

-----Original Message-----
From: Baker, Robert E

I am using the cookies just to remember the visitor - nothing else.

I use request.getSession(false) in the servlet since (I'm assuming) the JSPs
create the session object because of the page directive being set to true.
Is this an invalid assumption?

I am running all of this under JDeveloper.  I am not yet using a standalone
webserver or servlet container.  Once I get everything working, I expect to
move it to Apache/JServ.

Bob

-----Original Message-----
From: Christian Schneider [mailto:[EMAIL PROTECTED]]

Are you using Cookies just to remember the visitors upon login, or are you
using Cookies to assign and trace the whole session? (The other way would be
using URL-rewriting on every link.)

Also when accessing the session variables are you using
request.getSession(true/false) or request.getSession() in your servlet?

> Each JSP has the session page directive set to true.  Also, the code that
> checks the login information is a servlet.

Just BTW: How is that servlet mapped in web.xml? To what URL-pattern?

___________________________________________________________________________
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