warning user for session time out

The user in my application has to write long applications. So if while writing the application, session gets times out. what should be done.

how a window can be poped-up saying that your session will get timed-out in 5 minutes. if the user says yes, we will submit a blank form.. but this will become a recursive thing too

any other way we can achieve this

null

[386 byte] By [abhinav_nigam19a] at [2007-11-27 5:17:57]
# 1

I think you knew the session time out period. Say 20 minutes. For every 20 mins show a javascript popup using setTimeOut. Also you would need to check whether the session is active or not using cookie.

Let me know your email, i will send you some code.

Message was edited by:

skp71

skp71a at 2007-7-12 10:40:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...