the err of SignOut
I have rebuilded the project by own
it has successully when i register a new member or with a member login,.
we can view the account at the header.ascx
but i can't signout because it has no id at the header.ascx
if (Context.User.Identity.IsAuthenticated)---------the err line
{
Greeting.Text += "<b>" + Context.User.Identity.Name + "</b>";
UserLink.Text = "My Account";
UserLink.NavigateUrl = "../webpages/Users/MyAccount.aspx";
SignOut.Visible = true;
}
------------------------------------------------------------------
the IsAuthenticationed is true when i debug the project
at the myaccount.cs
currentUser = new User((PhilePrincipal)Context.User);------can't be transformed
I had got the cookie, why i can't signout?
somebody help me!
|