473,471 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Disabling Browser Navigation + Refresh Button

Dear All,

I would like to disable back and forward button + Refresh button.
Please help in doing this. I want this because i am displaying data
from mysql database and on back and forward button complete logic get
failed.

Also i would like disable save as option + copy & select all option.
Please urgently help me.

Regards,
Kapil.

Feb 21 '06 #1
2 9553
VK

Kapil Jain wrote:
Dear All,

I would like to disable back and forward button + Refresh button.
Please help in doing this. I want this because i am displaying data
from mysql database and on back and forward button complete logic get
failed.
<http://www.jibbering.com/faq/#FAQ4_2>
Also i would like disable save as option + copy & select all option.
<http://www.jibbering.com/faq/#FAQ4_1>

Please urgently help me.


Stop thinking of a web application in terms of desktop application. You
cannot prevent users from navigation, abnormal exit (like click on [x]
w/o exiting from the session) or copy/print current code.

Adjust your solution for the *web application* logic (state snapshots,
cookies).

Do not expose any security sensitive data on the client-side.

Provide a copyright notice (just don't go too heavy on it :-)
explaining what user may and what may not do with your data and
interface.

Feb 21 '06 #2
Kapil Jain wrote:
Dear All,

I would like to disable back and forward button + Refresh button.
Maybe, but if you think about it a little you would also see a need to
disable the related functionality available through context menus,
keyboard shortcuts, mouse gestures and any alternative provided by the
browser or available as an add-on.

You cannot even predict the available navigation and refresh options
available to the user, let alone circumvent all of them. And if it is
really necessary to disable any one method it is equally important to
disable all of them.
Please help in doing this.
I cannot do that, I can help you avoid wasting your time trying, and
recommend that you direct your efforts toward achieving a design that
has no undesirable consequences when the user employs the browser
features available to them, and encourage them to use those features in
an informed manner in the context of your code.
I want this because i am displaying data from mysql database
and on back and forward button complete logic get failed.
Then more considered an robust logic is called for.
Also i would like disable save as option + copy & select
all option.
Why?
Please urgently help me.


Will you recognise help when given?

Richard.
Feb 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bond | last post by:
how do I know when the browser is making a request to the server? I am not having an onclick event for EVERY hyperlink, submit, etc. There must be some javascript function that I can overwrite...
7
by: milkyway | last post by:
Hello to all ;-) I am using the Visual Studio 2005 .NET framework. Basically, I have file that is served up as an HTML file on the client side (generated from a .aspx file). But - the HTML...
1
by: JBD | last post by:
Hi, I have a button that fires the below sub routine. This works fine if the user clicks the button as they are supposed to, even if they click it repeatedly. However, if you click "refresh" on...
5
by: Selden McCabe | last post by:
I have a page that displays a picture. In the page load I figure out which image and then do a StudentPicutre.imageurl = <some file name> But if you use the browser's back button, enter...
18
by: seth.m.green | last post by:
<a href="javascript: void(0);" onclick="window.location.href='/foo.bar?one=false&two=true'">Link</a> works like a charm in Firefox. I get NOTHING in IE. but if I replace the javascript: void(0)...
11
by: EagleRed | last post by:
I am writing an ASP.NET 2.0 application that uses master pages. I have some pages that must not be cached on the client. In ASP.NET 1.1 I achieved this using metatags: <meta...
15
by: tshad | last post by:
I was looking for a way to handle refreshes (user pressed refresh button) and found a piece of code to check if a Web page was refreshed but I can't get it to work. The code is:...
0
by: sagarp86 | last post by:
How to lock / deactivate "Refresh" and "Back" button on browser. Problem is in voting application. Once we click for a vote application goes to next page and increament one vote in the database....
0
by: toeffetommy | last post by:
Hello, I need a piece of functionality developed for our Website and I need some technical advice on how get there. Essentially, what I want to develop is a browser-within-browser...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.