-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Retrieve session timestamp ?
PostPosted: Thu Jun 15, 2006 10:37 am 
Newbie

Joined: Thu May 25, 2006 2:27 pm
Posts: 5
Hi guys,

I was wondering if there was a way to retrieve the timestamp of "last action" from a user using the sessions ? Actually, I would like to retrieve this timestamp for ALL the existing user in my app.

I've looked a lot in the doc about Contextual Sessions, session factory, etc but didn't find anything useful.

Actually, the only useful thing I can do for the moment is to retrieve the session creation date for a user using his session with the HttpServletRequest request (using also Jboss), but it do not give some great results...I can acces this for one user but not for all.
Quote:
request.getSession().getLastAccessedTime()
request.getSession().getCreationTime()


Can you help me a bit around that ? Or should I use Jboss for that ? Or something else ? Because I want to do a page displaying the last action date in my web app...

Thanx,

K.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 16, 2006 12:07 pm 
Newbie

Joined: Thu May 25, 2006 2:27 pm
Posts: 5
my question seems to be interesting.... :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.