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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 15376
    
    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://aspose.com/file-tools
 
subject: HOw to disable the Refresh property in the Current window