Clicking "Back" after <cflocation>

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

  1. #1

    Default Clicking "Back" after <cflocation>

    I'm using Coldfusion MX.

    After a form is submitted, an "action" page is called. That page contains the
    queries and stored procedures that need to be done once that form is submitted.
    At the bottom of that page, I have a <cflocation> tag to redirect the user to
    another webpage.

    Here's my problem. Once the user is redirected to that page, clicking back
    will return to the "action page" and will insert a duplicate record.

    How do I stop this from happening?

    Any help would be great!

    chb_andre Guest

  2. Similar Questions and Discussions

    1. "Text image" back to "Editable text"
      I need to convert "text image" to "editable text" in illustrator. I can't found any option for this in illustrator. But in acrobat using the OCR...
    2. mysql-admin: Clicking "User Administration" causes app to hang
      I'm running mysql (MySQL 5.0.18-Debian_8-log), on debian sid (kde 3.5). I am having a problem with mysql-admin (MySQL Client Version 5.0.18). All...
    3. Clicking "Submit" brings Up a Dialog Box?
      Hello, I'm relatively new to DW MX2004. I created a form that I want emailed to someones 'hotmail.com" address. The form's OK, but when I click...
    4. Windows Explorer opens PDF, clicking EXIT causes explorer "error" message after viewing
      I can view the PDF pages from within the Winows Explorer "web browser" but if I try and close the window by using the EXIT, clicking on the X in the...
    5. "Back end not found. Or back end is busy"
      Hello, I get this message when I try to connect to my IDS 9.4 via the bde16. I use the client version 4 (sqld_inf.dll). The version 5 gave me...
  3. #2

    Default Re: Clicking "Back" after <cflocation>

    Two solutions that come to mind right off are to either set some sort of flag
    on the page the first time it is ran, and then wrap your inserts in logic that
    evaluates how many times the page has been executed. The other would be to
    query for the record and not add it if it already exists.

    VillageX 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