Hello Gargi,

This is not really a JSF question, but here are a few
suggestions:

Call HttpSession.setMaxInactiveInterval(-1) in the JSP of
your welcome page will stop the session timeout mechanism
*for this user*.  But you will have to reinstate the "inactive
interval" when you navigate away from the welcome page.

Alternatively, you could have a JavaScript timer which makes
dummy AJAX calls to you webapp; that should also keep the
session alive while you are on the page with this timer.

Of course, you do realize that there could be serious security
risks leaving a user's session active indefinitely.

-Bryan

Gargi Iyer wrote:
Is it possible to apply the session timeout in web.xml to all pages except
the welcome page?

 I dont want the welcome page which is also my login page to ever time out,
but the rest of the application should timeout in 15 minutes.

 Is it possible to do this using HttpSession?

gargi


Reply via email to