W
wrytat
I've read some books and online articles on how to implement form
authentication. Some taught me just to do
FormsAuthentication.RedirectFromLoginPage(username.Value, false) after the
user is validated. While others include more steps, like generating
authentication ticket, encrypt it, create a cookie, and add it to the
response, before redirecting the user. Both way should work, but why do I
need to generate an authentication ticket, when it still works if I don't
generate one?
What's an authentication ticket for? Why do I need it?
Thank you.
authentication. Some taught me just to do
FormsAuthentication.RedirectFromLoginPage(username.Value, false) after the
user is validated. While others include more steps, like generating
authentication ticket, encrypt it, create a cookie, and add it to the
response, before redirecting the user. Both way should work, but why do I
need to generate an authentication ticket, when it still works if I don't
generate one?
What's an authentication ticket for? Why do I need it?
Thank you.