Hai!
Continue to use getSession(true). It will return the session if u have one
already otherwise it will create one. So in any case use the parameter true
Jayakumar
>From: Bill Rosenberg <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Servlet Session Problems
>Date: Thu, 16 Mar 2000 13:56:25 -0700
>
>I am using Apache 1.3.12 under NT 4.0 with Jserv1.1 / JDK 1.1.8 and
>JSDK2.0. I
>cannot seem to get sessions to stay around. I use session.getSession(true)
>to
>create a session the first time, but the next time into my servlet using
>session.getSession(false), I get a null returned. Is there anything else I
>need
>to do here? Any help is appreciated.
>
>Thanks in advance.
>
>Bill Rosenberg
>
>___________________________________________________________________________
>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
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
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