HI
    u can create session by HttpSession sess = request.getSession(true) in
first servlet and in others u can access the same by getSession(false).
getSession(true) will create new session if one does not exist and
getSession(false) will return null if one does not exist.

Abhay


----- Original Message -----
From: A.R.Karthikeyan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 17, 2000 4:38 PM
Subject: Re: Maintaining Sessions


> Hi,
> How can I maintain a session for a user who has logged in from the  home
> page , across multiple HTML pages(links) generated by multiple servlet
> programmes?
> Hope somebody would help me out with this!
> Thanx
>
> Karthikeyan A.R
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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