Forms Auth and Timeout page

  • Thread starter Thread starter Smokey Grindel
  • Start date Start date
S

Smokey Grindel

I want to show a page that says you timed out basically when a user that is
authenticated via forms based authentication times out (after 60 minutes of
inactivity) how do you do this? right now it just redirects to the login
screen, I want it to tell them why first. thanks!
 
the default forms authentication timeouts via the cookie expiring, so
there is no difference between exire and never logged in. you can change
the authentication cookie to have a timeout value that is less the
cookie expire so you can detect the expire.

if you don't want to write the new cookie logic, you could add a second
cookie to keep the info. just update on every page request.

-- bruce (sqlwork.com)
 
Back
Top