A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
HOw to disable the Refresh property in the Current window
Joined: Sep 13, 2004
Sep 22, 2004 03:33:00
I have a html page in which i am submitting some datas to the Database and after submitting the page i need to display a value in another page in which i have disable the Refresh property of the Browser window. How can i do that by code.
Ramesh Shanmugam - SCJP 1.5
Joined: Nov 08, 2001
Sep 22, 2004 06:25:00
You can not, Plus you have to worry about right click and F% and others...
Joined: Aug 26, 2003
Sep 23, 2004 01:00:00
You cant stop someone from refreshing the page.. the trick is to nullify the effect of refresh.
Joined: Feb 02, 2001
Sep 23, 2004 09:48:00
Also, there are couple ways to actually know, is this reload a refresh or back button - just search the forum, it was discussed couple times
It is sorta covered in the
JavaRanch Style Guide
subject: HOw to disable the Refresh property in the Current window
pagination when page refresh
Disable Refresh Button of IE ??
Modal window and its side-effects
Child windows gets refresh if parent window is refreshed
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014