A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
get the session time out value from the web.xml
shyam ji gautam
Joined: Sep 17, 2011
Sep 27, 2011 08:11:41
i want to compare
lastactivity time > sessiontimeout
then update some value in data base and then logout
how i get session time out value which i manually define in web.xml for this xml and session last activity time
Joined: Jun 10, 2011
Sep 27, 2011 10:27:00
You can get lastAccessedTime and session timeout value both from the
Read the JavaDocs for HttpSession.
But I think what you really need is a session listener, which listens for the timeout to occur. When timeout occurs and session is going to be destroyed then this listener will be notified and you can update the database using it.
I agree. Here's the link:
subject: get the session time out value from the web.xml
Session timeout is determined by web.xml or weblogic.xml?
session-timeout doesn't work in JBoss - why not?
if i set session in a weblogic server,and i set in my application,which will have ..
How to read session time out value from WAS server?
session time out doubt
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014