Re: Unable to get Forms-based Authentication to work

From: JD Bee (anonymous_at_devdex.com)
Date: 07/14/03


Date: Mon, 14 Jul 2003 14:15:28 -0700


Hi Buddy!

I had the exact same problem as you did. here is how i solved it:

First, i want you to know i dont fully understand why it works, but it
does. :)

to redirect after login i was using:

Response.Redirect(
FormsAuthentication.GetRedirectUrl(this.Username.Text,false));
                                        
i replaced it with:
FormsAuthentication.RedirectFromLoginPage(this.Username.Text,true);

and it now works fine. is it the state cookie param from false to true
or the change of the method, im not sure.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!