Disabling the "Back" button

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Disabling the "Back" button

    Hi All:

    Well, now I have another question. I have created a rather large
    application that is handled through one script. What I would like to have
    happen is to make it impossible for the user to be able to get back to a
    previous page in the application. The reason that I would like to disable
    backwards navigation is that previous pages might access databases. In
    certain situations if an attempt to insert in a table would occur then an
    error most likely would occur because of a violation on inserting duplicate
    data. Is there a simple way to make it impossible to allow this type of
    navigation impossible or should I perhaps keep track of state so that if I
    knew where one came from I would not allow the access to the database to
    occur.


    Thanks in advance

    Terry


    Terry Murray Guest

  2. Similar Questions and Discussions

    1. Disabling "Save a Copy" button for myapplication and not other applications
      I have a application developed in VC++ which can open pdf documents by help of a plug in developed by us. We need to disable the "Save a Copy" button...
    2. Simulate Browser "BACK" button
      Hello, There are many situations on my site that the user has the option of retunring to the prior page. Rather than adding text that reads...
    3. Will browser "BACK BUTTON"ever work??
      Is there I can build a flash site that will alllow a user to use the "back or forward button" in their browser to navigate through a flash site....
    4. Question: How can I "expire" a web page (prevent BACK button)
      I know some sites will display the following message if you click on the BACK button in your browser. How do I implement this feature? Warning:...
    5. "Back Button" and populated dropdown lists
      Hi, I have done some research about my problem I have when using the "back button" in IE to go back to a page with two dropdown lists. The...
  3. #2

    Default Re: Disabling the "Back" button

    > make it impossible for the user to be able to get back to a
    > previous page in the application.
    [url]http://www.aspfaq.com/2017[/url]


    Aaron Bertrand - MVP Guest

  4. #3

    Default Re: Disabling the "Back" button

    No, you cannot disable the back button. You have to code your pages to
    handle anything that a user may do. Take a look here. [url]www.aspfaq.com/2017[/url]

    Ray at work

    "Terry Murray" <tgmurray@rogers.com> wrote in message
    news:iVRYa.89148$4UE.52019@news01.bloor.is.net.cab le.rogers.com...
    > Hi All:
    >
    > Well, now I have another question. I have created a rather large
    > application that is handled through one script. What I would like to have
    > happen is to make it impossible for the user to be able to get back to a
    > previous page in the application. The reason that I would like to disable
    > backwards navigation is that previous pages might access databases. In
    > certain situations if an attempt to insert in a table would occur then an
    > error most likely would occur because of a violation on inserting
    duplicate
    > data. Is there a simple way to make it impossible to allow this type of
    > navigation impossible or should I perhaps keep track of state so that if I
    > knew where one came from I would not allow the access to the database to
    > occur.
    >
    >
    > Thanks in advance
    >
    > Terry
    >
    >

    Ray at Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139