Re: redirect and getSession(true).isNew()

Michael Weller <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <008501c2e00a$084883a0$1c07b9d9@gutschimachine>
Maybe it's a missing '<%@ page session="false" %>' in your login.jsp that
forces a new session?

-mw
----- Original Message -----
From: Peter Maas
To: [email protected]
Sent: Friday, February 28, 2003 10:32 AM
Subject: redirect and getSession(true).isNew()


Hi,

it seems that a redirect automatically creates a new session, how can this
be avoided?
say I have the following setup:

login.jsp --> only thing it does is redirect to a servlet

what do I have to do to let the servlet know this is, or can be a new
session?

gr,

P

___________________________________________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.