RSS feed

How can I stop visitors going back heating back button in asp dotnet

Published by: Rose (1/6/2009 3:35:40 PM)

JAN 6 2009

I have a page where i want to keep my visitors by not giving them the option to hit the back button and go back. How can I make the back button dormant in I know there is a line code which can be added to the body to achieve this result but i can’t figure it out.


What is the difference between the .aspx page and .aspx.vb/cs page >>

<< How a Datasource will Show all the Records When a Parameter Changed in Dropdown



Name: admin

Use this code to make your browsers back button dormant.

<body onload = "if(history.length>0)history.go(+1);">

You can use HTML tags here.
*Code: Please enter the sum of 5+2