Geeks With Blogs
AzamSharp Some day I will know everything. I hope that day never comes.
Sometimes we need that after users visits once page he is not allowed to go that page again by clicking on the BACK BUTTON. You can easily add this functionality by using simple Javascript and html.
 

Posted on Saturday, August 20, 2005 4:42 PM | Back to top


Comments on this post: Preventing Users to go back to the previous pages.

# re: Preventing Users to go back to the previous pages.
Requesting Gravatar...
and how do we achieve that???
Left by Sashidhar Kokku on Aug 20, 2005 7:08 PM

# re: Preventing Users to go back to the previous pages.
Requesting Gravatar...
Hmm Dont know why It did not posted the code that I pasted.

<Body onLoad="if(history.length>0)history.go(+1)">
Left by Azamsharp on Aug 20, 2005 7:19 PM

# re: Preventing Users to go back to the previous pages.
Requesting Gravatar...
lol, he's just thinking out loud.
Left by Trilogy on Aug 20, 2005 7:19 PM

Your comment:
 (will show your gravatar)


Copyright © Mohammad Azam | Powered by: GeeksWithBlogs.net