A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Feb 15, 2005
Feb 24, 2005 08:10:00
How can I use the getLastAccessTime()method in the Struts to AUTOMATICALLY track the last access or session terminate time?
Thanks in advance,
Joined: Jan 15, 2005
Mar 03, 2005 14:19:00
I don't know how much it works for you.You have to write code in Action to get Session from request and there by accessing getLastAccessed time.I hope this wotks correct me if it's wrong.
I agree. Here's the link:
subject: session getLastAccessTime()
Trouble running example from Hibernate Made Easy, p. 156
A mock question about session
session.getLastAccessedTime() = -1 ??
Session problem in NetBeans
About the Session
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014