hi, If you are using FormsAuthentication then on Logout Button click write the following code
Session.Clear();
Session.Abondon();
FormsAuthentication.SignOut();
Response.Redirect("Home.aspx");
and if you are not using FormsAuthentication then simply
Session.Clear();
Session.Abondon();
Response.Redirect("Home.aspx");
will work.