It's a cookie (JSESSIONID in all caps) that you can read via the
javax.servlet.http.HttpServletRequest.getCookies method which returns an
array of javax.servlet.http.Cookie objects which you can iterate through
looking for the name "JSESSIONID" then, when you find it, use the
getValue() method on the cookie to get the value so you can store it.

URL re-writing causes it to be added to the url, thus you see the
jsessionid= in the url.

-----Original Message-----
From: JC Norman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 4:11 PM
To: [EMAIL PROTECTED]
Subject: JSessionID


Does anyone know how I can access a users jsessionID when they log in.
I
would like to store it in a database while they are logged in.  When you
log
into jetspeed in the URL it says ;jsessionid=***.  I haven't seen it
anywhere in the documentation or the API.

Thanks,
JC Norman


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to