Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes session getLastAccessTime() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "session getLastAccessTime()" Watch "session getLastAccessTime()" New topic

session getLastAccessTime()

wayne xu

Joined: Feb 15, 2005
Posts: 6
How can I use the getLastAccessTime()method in the Struts to AUTOMATICALLY track the last access or session terminate time?
Thanks in advance,
anupa oru
Ranch Hand

Joined: Jan 15, 2005
Posts: 118
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()
It's not a secret anymore!