Monday, 1 October 2012

How to prevent user from navigate to previous page using back button.

there are two pages Page1.aspx and Page2.aspx and Page1.aspx redirects to Page2.aspx..
open the source code window of page 1.aspx..
in the head section of the code wirite the javascript code

by tihs you can prevent the user from  viewing the previous page using back button....


No comments :

Post a Comment