session time out

is there a way i can track whether a session has timed out, so that when the user, for example, clicks on a button after the time out, it will, instead of going to the regular destination, it will go to another webpage saying "session timed out" or something like that?
thanks,
An

Comments

  • : is there a way i can track whether a session has timed out, so that when the user, for example, clicks on a button after the time out, it will, instead of going to the regular destination, it will go to another webpage saying "session timed out" or something like that?
    : thanks,
    : An
    :
    U can set a object by session.setAttribute(strName,object) as a flag. When u get the flag and the result is null, u can redirect to a error page

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion