A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Need to reset HTTP Session Timer
Joined: Jan 18, 2005
Jan 30, 2008 20:57:00
Does anyone know of a way to reset the HTTP Session Timeout Timer from within the application? I'm open to using any means on the following APIs:
- Spring 1.2.2
- WebWork 2.1.7
This is an older application I'm supporting for a client and they've requested that the application reset the HTTP Session timer upon a couple specific user Actions.
Any thoughts? Thanks for any and all help.
" I believe that the man who works the hardest is the man who deserves to win."<br /> <br />-- Lance Armstrong, upon winning his 6th Tour de France
Joined: Dec 11, 2004
Jan 30, 2008 21:11:00
The timer gets set each time the user hits the page.
If that's not what you meant, can you give us some more details about what you're trying to do?
How to ask a question...
Simple Servlet Examples
Joined: Feb 05, 2008
Feb 05, 2008 21:01:00
you can invalidate the session and then get a new session.. that will "reset" it.. but will also kill the active one all together..
<a href="http://www.J2EETraining.com" target="_blank" rel="nofollow">J2EE Training / Java EE Training ... Learn Java EE </a>
subject: Need to reset HTTP Session Timer
JWebUnit / WebTestCase question
session is not refreshing for ajax4jsf request
Builing First GUI - A few questions
testing to see if a session has expired
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014