How to write code for Logout Page in ASP.NET 2.0

i wrote following code but it is not working properly.i want ot erase url of page from Client Browser History . My Code is

on click of Logout Button

Session.Abandon()

HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache)

Response.Cache.SetAllowResponseInBrowserHistory(False)

Response.Redirect("Logint.aspx")




Answer this question

How to write code for Logout Page in ASP.NET 2.0