I have an asp.net application using forms authentication.\n\n1. It has a simple login page (login.aspx) that uses\nFormsAuthentication.RedirectFromLoginPage(. . . ).\n2. My application has a logout function that Redirects to signout.aspx.\nSignout.aspx invokes FormsAuthentication.Signout() when it loads.\n3. Signout.aspx also has a login button that redirects to my application\npage (index.aspx). Because the user is no longer authenticated, asp.net\nproperly invokes the login.aspx page.\n4. If I login again using the same user id, no problem - I go right to\nindex.aspx.\n5. However, if I login using a different user id, I get redirected to\nsignout.aspx. I've tested the value of FormsAuthentication.GetRedirectUrl(.\n.. . ) and it is clearly setting the RedirectUrl to signout.aspx.\n\nIs there some way to prevent this from happening? Is it possible to set the\nRedirectUrl using my .Net code? Better yet, is there a recommended way to\nimplement a login / logout function that will allow different user ids?