aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes HOw to disable the Refresh property in the Current window Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "HOw to disable the Refresh property in the Current window" Watch "HOw to disable the Refresh property in the Current window" New topic
Author

HOw to disable the Refresh property in the Current window

Ramesh Shanmugam
Ranch Hand

Joined: Sep 13, 2004
Posts: 132
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
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
You can not, Plus you have to worry about right click and F% and others...

Eric
Balan Raj
Ranch Hand

Joined: Aug 26, 2003
Posts: 74
You cant stop someone from refreshing the page.. the trick is to nullify the effect of refresh.
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: HOw to disable the Refresh property in the Current window
 
Similar Threads
Page refresh
Modal window and its side-effects
Disable Refresh Button of IE ??
pagination when page refresh
Child windows gets refresh if parent window is refreshed