Click here to Skip to main content
13,052,022 members (65,159 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Revisions

Stats

6.2K views
1 bookmarked
Posted 7 Feb 2012

How to prevent Re-Post action caused by pressing browser's Refresh button

, 7 Feb 2012
Could you not achieve the same thing with javascript?if (document.all){ document.onkeydown = function () { var key_f5 = 116; if (key_f5==event.keyCode){ event.keyCode=0; alert ("Sorry! You can not refresh this page!"); ...

Revisions


  

Compare Revision Minor Date Status Editor
1 - publicly available No 7-Feb-12 8:02 Available Member 4236865

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Member 4236865
United Kingdom United Kingdom
No Biography provided

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170713.1 | Last Updated 7 Feb 2012
Article Copyright 2012 by Member 4236865
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid