Some questions on forms authentication:
1) Can one do one's own checking of username and password and totally bypass calling
FormsAuthentica tion.Authentica te?
2) does the "new FormsAuthentica tionTicket" create a cookie?
3) Can one send the cookie back to the browser just by doing the new call on the
FormsAuthentica tionTicket?
4) Does a session object contain nothing more than what is in the browser cookie?
5) Does the session object get created fresh from every forms submit using the
browser's cookie that ASP.Net requests from the browser on every page submit?
http://msdn.microsoft.com/library/de...redentials.asp
void SubmitBtn_Click (Object Source, EventArgs e)
{
// Pull credentials from form fields and try to authenticate.
if (FormsAuthentic ation.Authentic ate(UserName.Va lue,
UserPassword.Va lue))
{
FormsAuthentica tionTicket ticket = new
FormsAuthentica tionTicket(User Name.Value, false, 5000);
FormsAuthentica tion.RedirectFr omLoginPage(Use rName.Value,
Persist.Checked );
}
}