If you do a few web searches you should come up with something you want...

http://livedocs.macromedia.com/jrun/4/Programmers_Guide/servletlifecycleeven
ts4.htm

Took me 3 minutes after a google search and it came up.

Sorry if it's not directly answering your question.  I think what you are
looking for is a result of using the HttpSession object.  Search the
docs...I'm sure it's in there somewhere.

 

-----Original Message-----
From: Anne-Li Mell [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 19, 2004 2:22 AM
To: JRun-Talk
Subject: Is it possible to see session timeout in the servlet?

I've tried to look around, but I just can't find this. Can I somehow inside
the servlet see how long time has been set to session timeout? My boss wants
a system that warns prior to logging out and I'm working on something that
will "tick" the server (and by doing so always keep the session alive) but I
need to know how long the session is set to be alive (if it doesn't gets
accessed) so I can do the "timeouting" myself. We're thinking of sending it
with as an init argument if it can't be accessed, but that feels not so good
as then the administrators will have two places to change if they want to
change the timeout-time ... Any ideas?

All the best,

Anne-Li Mell



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5601
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to