Form authentication is by default based on cookie, so when cookies expires
it will redirect to the login page. You can set the timeout for forms
authentication cookie in config file. So it wont redirect after session
timeout. If you want that feature, then dont create forms authentication
cookie.
I figured it out. I had Persistcookie = true when it should have been
false, in my redirectfromloginpage call. When persistcookie = true it
ignores the timeout property in the forms section of the web.config
file.
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.