A
Andrew Banks
Using forms authentication in C# I usually use
FormsAuthentication.RedirectFromLoginPage to log a user in as follows
FormsAuthentication.RedirectFromLoginPage(id,false);
How can I log a user in without re-directing them somewhere else? I simply
want to log the in and then run some other code without re-directing them.
I've tried .SetAuthCookie(id,false) but this doesn't seem to work.
Any ideas?
FormsAuthentication.RedirectFromLoginPage to log a user in as follows
FormsAuthentication.RedirectFromLoginPage(id,false);
How can I log a user in without re-directing them somewhere else? I simply
want to log the in and then run some other code without re-directing them.
I've tried .SetAuthCookie(id,false) but this doesn't seem to work.
Any ideas?