Create Logout page with ASP.NET

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
 
G

George Durzi

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top