Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Stop back button

    Our users ignore us when we say, don't use the back button to change data.
    Most pages have been programed for this but we have one that can't be. I want
    to "disable" the back button by opening a window to continue the processing but
    I can't close the calling window without the security prompt. Does anyone know
    how to sign the javascript so I can close it?
    Thanks.

    CFGumby Guest

  2. Similar Questions and Discussions

    1. Back button
      Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave...
    2. How To trigger BACK button
      Hi Guys, Do anyone know hoe to trigger BACk button. I mean if we click a back button at IE , the previous page will identify it come from the...
    3. Javascript back button
      A client wanted a simple flash button adding to an html page to use as a 'back' button. I've used the script: //Goto Webpage Behavior...
    4. Flash MX stop button
      I have a slideshow in Flash MX (not 2004), which has buttons to go back, to play, to autoplay, to stop autoplay, and 2 other buttons for sound off...
    5. Back button - how?
      <input type="button" onClick="javascript:history.back();" /> <a href="javascript:history.back();">back</a> or <input type="button"...
  3. #2

    Default Re: Stop back button

    Rather than opening a new window, you might try using JavaScript to replace the current page with the new page. This would remove the initial page from the history so back wouldn't work.

    -Paul
    dempster Guest

  4. #3

    Default Re: Stop back button

    Is there a way to update the history? I couldn't find it in the js ref or
    guide. The method I found and it seems to work so far is to use this in the
    page that is to be submitted;

    javascript:window.history.forward(1);

    It is ignored the first time the page is loaded because there is no next page.
    If the user clicks back from the next page they are immediatly taken back to
    it. I am just starting to test it but so far it looks promising.

    Thanks to Akhilesh Reedy for this one in

    [url]http://www.4guysfromrolla.com/webtech/111500-1.2.shtml[/url]

    It was so simple.
    Thanks.

    CFGumby Guest

  5. #4

    Default Re: Stop back button

    If you use the location.replace() method, the URL you specify will replace the current one in the browser history. This should accomplish what you want.

    -Paul

    dempster Guest

  6. #5

    Default Re: Stop back button

    How would that work for forms when we have a lot of input variables to pass? Since the submit button is what we want to stop them from getting to a second time.
    CFGumby 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