The session can be retrieved from the HttpServletRequest.getRequestedSessionId(). The session ID may also be set in a cookie, but the name of the cookies is configurable and not all users will allows cookies. My suggestion is to use getRequestedSessionId() instead of the cookie to get the session id. The session id is set by the JSP server, i.e. Tomcat, not Jetspeed.
Paul Spencer JC Norman wrote: > 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]>