Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Stop the ability to Refresh the page
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Stop the ability to Refresh the page

 Post Reply Post Reply Page  12>
Author
silvaduro View Drop Down
Newbie
Newbie
Avatar

Joined: 10 November 2002
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote silvaduro Quote  Post ReplyReply Direct Link To This Post Topic: Stop the ability to Refresh the page
    Posted: 21 August 2003 at 3:36am

Hey,

In an ASP page I want to be able to stop the ability to refresh, i.e. either bring up a dialog or just not do anything when F5, the Refresh Button and Ctrl+R are pressed. Can anyone help me?

~silva

Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2003 at 8:41am
its not possible
Contribute to the working anarchy we fondly call the Internet
Back to Top
3BEPb View Drop Down
Groupie
Groupie


Joined: 07 August 2003
Location: United States
Status: Offline
Points: 81
Post Options Post Options   Thanks (0) Thanks(0)   Quote 3BEPb Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2003 at 9:49am
Silvaduro, there are some ways how to trick your lame users, however any more or less designated user will get anything he need (client side, I mean :)), including reload.
Back to Top
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Post Options Post Options   Thanks (0) Thanks(0)   Quote zMaestro Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2003 at 3:46pm

Isn't there a way even through JavaScript?

I think something passed through me that assigns another job for the F5 key other than refresh!!! but Im not sure

Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Post Options Post Options   Thanks (0) Thanks(0)   Quote pmormr Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2003 at 6:03pm
your talking about Internet Explorer assigned keys. The F5 key is assigned refresh by windows. I would put my money on MorningZ's answer. Besides, why would you ever want to disable refresh.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2003 at 10:03pm
Anything you're likely to do to prevent a refresh will be like disabling right click - very annoying to your users and easily beaten.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 21 August 2003 at 10:44pm
and you are NOT going to stop the "refresh" button on the top of an IE (or netscape or opera) window..... there is no script to take over someone's browser functionality
Contribute to the working anarchy we fondly call the Internet
Back to Top
zMaestro View Drop Down
Senior Member
Senior Member


Joined: 11 May 2003
Location: Egypt
Status: Offline
Points: 1183
Post Options Post Options   Thanks (0) Thanks(0)   Quote zMaestro Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2003 at 1:57am

a copy can be disabled even when clicking Edit | Copy, it appears a disabled item.

a Select of Text can also be disabled.

 

Stopping Refresh function is useful for example to prevent a form from being submitted twice.

 

there are scripts that can for example when pressing Control+H takes you to the Home Page, and so on.. that's what I meant by assigning a certain function to a certain Key.

Control+C can be disabled by a JavaScript Code.

 

I didn't say F5 can be disabled, I am just thinking in a load voice.

Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.