Saturday, August 19, 2006

We are facing a problem with session timeout. As per requirement we need to have different timeout values for different pages. i.e. to say 40 min for page A and 45 min for page B. Is there any way this configuration can be done.

You can change it at runtime but changing one page will affect them all.There is only one session object per session.
setMaxInactiveInterval(int)
If you want a per-page timeout, you will have to do it with some other mechanism besides the session -- probably JavaScript timers on the various pages.

0 Comments:

Post a Comment

<< Home