There is a getSession() method in the HttpServletRequest interface. It returns
a session for the current request.
It sounds like that's about what you want.

--- Tinou Bao <[EMAIL PROTECTED]> wrote:
> after a little api look it looks like getSession(String id) has been
> deprecated for 2.1.  Anybody know why?
>
> Thanks.
>
> --
> Tinou Bao
> www.tinou.com
>
> ----- Original Message -----
> From: "Tinou Bao" <[EMAIL PROTECTED]>
> To: "A mailing list for discussion about Sun Microsystem's Java Servlet API
> Technology." <[EMAIL PROTECTED]>
> Sent: Thursday, May 31, 2001 4:28 PM
> Subject: session from id
>
>
> > does the servlet api have something whereby i can pass in a session id and
> > get back the http session? can't find it off hand and wondering if i
> > overlooked something. if not does anybody if websphere or weblogic or the
> > other major app servers have api for such functionality? thanks.
> >
> > --
> > Tinou Bao
> > www.tinou.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


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.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

Reply via email to