Sorry if i see it in a wrong direction, i think the JSession is include the unique id, and Norman want a user.. like turbine, admin and track it right..
because if the user login, and session will be handle by tomcat. right??? >>>Does anyone know how I can access a users jsessionID when they log in. is this mean a turbine_user database oke i think i will try a simple syntax session.setAttribute(GA_USER, "frans") will generate a session GA_USER with value frans and in jetspeed will be turbine, admin (refer to TURBINE_USER table).. and to track session is session.getAttribute(GA_USER)... and blla bla bla... if session is activated, you can see the value right... I see in this direction, is it right??? Cheer.. Frans ----- Original Message ----- From: "Paul Spencer" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 10, 2002 10:59 PM Subject: Re: JSessionID > 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]> > _________________________________________________________ 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]>
