471,336 Members | 1,429 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Forms Authentication ticket expiration

I have an ASP.NET 2.0 application that is using Forms Authentication. It is
creating a forms authentication ticket with and then redirecting itself to
another page, i.e.

FormsAuthenticationTicket formsAuthenticationTicket = new
FormsAuthenticationTicket(loginName, false, timeoutMinutes);
FormsAuthentication.Encrypt(formsAuthenticationTic ket)));
Response.Redirect("Default.aspx", false);

However, after the ticket expires, the response is not directed back to the
Login page. For testing purposes, I set the timeoutMinutes to a very small
number. Any ideas why this is not working?

Thanks in advance.

Sep 5 '08 #1
0 1078

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Martin | last post: by
5 posts views Thread by Kenneth Keeley | last post: by
reply views Thread by nicholas | last post: by
reply views Thread by Sean Patterson | last post: by
18 posts views Thread by Rippo | last post: by
1 post views Thread by javatopia | last post: by
10 posts views Thread by Peter Bradley | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.