I have a problem in that the  time value I get from the
curSession.getLastAccessedTime() method is always the same. The date changes
accordingly but the time is always the same. In my case the time is always
4:00:00 PM PDT. If anyone can shed some light on this problem I would
appreciate it.

Thanks Roland


Here a code snippet:

HttpSession session = req.getSession(true);
String id = session.getId();

HttpSessionContext context = session.getSessionContext();
HttpSession curSession = context.getSession(id);
long time = curSession.getLastAccessedTime();

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to