What is the code i have to write on Button click event to signout from a web page using C#.
I have just used this code
protected void SignOut_Click(object sender, EventArgs e)
{
Session.Abandon();
Session.RemoveAll();
Response.Redirect("manager.aspx");
}
and also i used in the login page this query string but its not as i want i wanna make it more secure
and when the user take it copy and try open page again i want it redirect user to the login page.
Response.Redirect("admin_page_clients.aspx?username=" + cmd.ExecuteScalar().ToString());
But if I use back Button it is coming back to the page again.
Please help me .
thank U.
...
Go to the complete details ...