29 October 2013

Coding of Log Out Button in asp.net C#


protected void lnkbtnlogout_Click(object sender, EventArgs e)
{
Session.Abandon();
Session.Clear();
Response.Redirect("~/Default.aspx");

}

No comments:

Post a Comment