Create Logout page with ASP.NET

  • Thread starter Thread starter Tuan
  • Start date Start date
T

Tuan

Hi,
I am writting a small web application and I want to
create a logout page for the users like the logout on
yahoo. If the users logout they cannot go back by using
back button history on the browser. Instead, they have to
login again. Does anyone know how to do it? Or give me
some ideas how to do it.
Thanks in advance
Tuan
 
Are you using Forms-based authentication?
If so all you need to do is make a call to FormsAuthentication.Signout, and
Forms Authentication takes care of everything else.

Search for "Simple Forms Authentication" on MSDN

George
 
Back
Top