Actually, I'm not sure why the answers here imply that Forms Authentication should somehow be used with the ASP.Net Membership or the ASP.Net infrastructure for it (providers, etc.).
Autodesk Forms Authentication ( ASP.Net , ).
MSDN:
<script runat="server">
void Logon_Click(object sender, EventArgs e)
{
if ((UserEmail.Text == "jchen@contoso.com") &&
(UserPass.Text == "37Yj*99Ps"))
{
FormsAuthentication.RedirectFromLoginPage
(UserEmail.Text, Persist.Checked);
}
else
{
Msg.Text = "Invalid credentials. Please try again.";
}
}
</script>
, , db....
: ( , MSDN)