your Log-out link button code should be:
//sign out from form authentication
FormsAuthentication.SignOut();
//abandon session
Session.Abandon();
Response.Redirect("logon.aspx");
you can find more detail at below link . Log-Out using form Authentication