Authentication timeout -- frames issue.
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I've set my web app to use Authentication mode = forms in the web.config The problem is that when the cookie expires, it redirects to the login page -- but only in the main frame. I need to redirect the entire page (_top), not just a single frame. 1. Can I set a target (in the web.config) for the redirect that happens when the cookie expires? Target does not seem to be one of the parameters that it accepts for the forms element... 2. Can I handle the authentication timeout with javascript (so I can redirect to the login page, but specify a target)? 3. I could give the timeout value a huge number, then handle authentication timeout via some other method (this does not seem to be the optimum solution). Any input would be welcome.