Forms Auth and Timeout page

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!
 
B

bruce barker

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top