Re: how get Session Id from Java Application

ramachandra <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
Hi Randie,

        Use getId() --  which is a method of HttpSession interface for
getting the sessionId created by your servlet.   Every session created by
the server has a unique 'id' associated with it in order to identify this
session from other sessions. This method returns the 'id' of this session.

Regards,
Ram

----- Original Message -----
From: randie ursal <[email protected]>
To: <[email protected]>
Sent: Tuesday, February 04, 2003 6:54 AM
Subject: how get Session Id from Java Application


> hi,
>
>
>    what is the response parameter key to access from my Java Application
> to know the session Id created by my Servlet?
>
>
> thanks a lot.
>
>    randie
>
>
___________________________________________________________________________
> 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
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.