Hello All Hi thsi time an interesting thing I wanna ask I want my user not to refresh my Page ..means i do not want him to refresh .. Iam using JSP /HTML and Oracle pls tell any soln bye an dtake care sandeep
Want to do something great will do one day
Rehan Malik
Ranch Hand
Joined: Jul 09, 2001
Posts: 76
posted
0
From what I know, you can't prevent a user from pressing the Refresh button.
Rehan Malik
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
posted
0
Well, actually you can remove the button bar entirely using JavaScript on some browsers, but that's going a bit far. Why don't you want the user to refresh their page? Kyle ------------------ Kyle Brown, Author of Enterprise Java (tm) Programming with IBM Websphere See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
As kyle said we can use JavaScript to remove (but you can use them through shortcuts. and through context menu) from appearing. But i dont think it will serve your purpose. one work arround could be... just set some variable in the cookie say xxxreloadable=false for the first time you are accessing xxx page. if the request comes to the same(i.e., xxx) page and xxxreloadable is false, then resend with an error. if its for other page just ignore the reloadable. Sridhar
Originally posted by sandeep balyan: Hello All Hi thsi time an interesting thing I wanna ask I want my user not to refresh my Page ..means i do not want him to refresh .. Iam using JSP /HTML and Oracle pls tell any soln bye an dtake care sandeep