.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Code Snippets >> ASP.NET Controls >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Avoid Back button after logout.

Posted By:Athira Sreejith       Posted Date: January 02, 2009    Points: 10    Category: ASP.NET Controls    URL: http://www.dotnetspark.com  

There are so many questions related to this topic.

the answer is simple.

just put this code from where user clicks log out page

and dont forget to write this on code behind page of log out page



Further Readings:

Author: Savi3         Company URL: http://www.dotnetspark.com
Posted Date: February 16, 2009

But for me the back button is working . It goes to the previous page.
Author: mohan         Company URL: http://www.dotnetspark.com
Posted Date: November 21, 2010

use under <head>

<script language="javascript" type="text/javascript">


Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend