The servlet API doesn't provide such notifications. The only way to do this that I see is to track the times for each user in your code. But even then you'll have to send the notification to the browser and here comes the question - how?
On Thu, Jun 9, 2011 at 8:24 AM, Arjun Dhar <[email protected]> wrote: > Hi, > I want to be able to show a Warning message appear when the session is > about to expire (say 5 minutes before) and if the session has expired then > on the UI it should come. This is to ensure a User does not enter any data > and lose it when they click Submit. > > Use Case I wanna prevent: Lazy User goes for Coffee, comes back completes > Form, presses Submit ...curses me! > > thanks > > ----- > Software documentation is like sex: when it is good, it is very, very good; > and when it is bad, it is still better than nothing! > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Graceful-Session-Expiry-tp3584660p3584660.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
