File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
Don't get me started about those stupid
subject: get the session time out value from the web.xml
session time out doubt
How to read session time out value from WAS server?
if i set session in a weblogic server,and i set in my application,which will have ..
Session timeout is determined by web.xml or weblogic.xml?
session-timeout doesn't work in JBoss - why not?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014