阅读背景:

如何在ASP成员中使用LogOut

来源:互联网 
protected void Button2_Click(object sender, System.EventArgs e) //logout
{
    if (System.Web.HttpContext.Current.User.Identity.IsAuthenticated)
    {
        System.Web.HttpContext.Current.Session.Abandon(); // it isn't logout >_<
    }
}
protected void Button2_Click(object sender, Sys



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: