Frans, I believe you are looking at the problem from the wrong side. The "user" does not have a "session", it is the "session" that has a "user", thus you should not be able to find a session in in turbine.user. This is because the same user can login many times. You can find the user in RunData. You may also find the SessionID in RunData, but I have not looked.
As I stated earlier, you can get the session id from HttpServletRequest.getRequestedSessionId(). If this is not the answer, then I do not understand your question. Paul Spencer Frans Thamura wrote: > Ho.... > > I think that the question several months ago,, i posted it in this list... > and still no one know the answer... > > i predict, there is a variable called turbine.user , that active when a user > logged in.. > > but until now, i cannot fetch it... > > Frans... > ----- Original Message ----- > From: "Paul Spencer" <[EMAIL PROTECTED]> > To: "Jetspeed Users List" <[EMAIL PROTECTED]> > Sent: Friday, January 04, 2002 6:35 AM > Subject: Re: JSessionID > > > >>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]> > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > -- > 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]>
