Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default after the submit

    After clicking on the submit button, it will take the user to a thank you
    page with their receipts. I notice that if you click on the back button in
    browser, it will take you back to the previous page and you can resubmit
    that page again. What is the best way for me to stop that?



    Thanks


    Grant Guest

  2. Similar Questions and Discussions

    1. Submit than go to URL
      hello all, I would like to redirect user to a new page after they validate and submit info. I have <form action="../gdform.php"...
    2. Q: php-frames.. - submit (fr1) - on (fr2)
      please help.. is something like this possible? i'm quite new on php/HTML.. and after some desing-considerations and a small working :) solution...
    3. submit try?
      test 04-30-04
    4. Submit FDF
      I need to export and .fdf file and have the .fdf saved to a network share, but I haven't a clue as to how to do this. Any advice is greatly...
    5. where can i submit?
      "NoTellinWhy" <nottelling@screwoff.com> wrote in message news:TTZUa.539231$3C2.13944814@news3.calgary.shaw.ca... You need to be a bit more specific...
  3. #2

    Default Re: after the submit

    detect the resubmit on the server. i real life, the user may submit serveral
    times if the site or internet is slow. they never know if one of them
    worked. you site should allow this to happen. use a transaction key stored
    in a hidden field then log if the transaction has been completed.

    -- bruce (sqlwork.com)



    "Grant" <Grant@nutrikids.com> wrote in message
    news:#$mHWTwSDHA.1556@TK2MSFTNGP10.phx.gbl...
    > After clicking on the submit button, it will take the user to a thank you
    > page with their receipts. I notice that if you click on the back button in
    > browser, it will take you back to the previous page and you can resubmit
    > that page again. What is the best way for me to stop that?
    >
    >
    >
    > Thanks
    >
    >

    bruce barker Guest

  4. #3

    Default Re: after the submit


    Someone reply directly to my e-mail so I am posting it here because it
    worked.



    I put the line below on page load event and I put it on the pages that I
    don't want the back button to be able to go back to. For example the code
    below was put in page load event in the payment method page and when the
    user clicked on the submit button, the thank you page comes up next. If the
    user clicked on back button in the thank you page, it will go back to what
    page it was prior to the payment method page, which in my case is the home
    page. The code below basically prevents the page loading into the user
    cache.

    Response.Cache.SetCacheability(HttpCacheability.No Cache)


    "Grant" <Grant@nutrikids.com> wrote in message
    news:%23$mHWTwSDHA.1556@TK2MSFTNGP10.phx.gbl...
    > After clicking on the submit button, it will take the user to a thank you
    > page with their receipts. I notice that if you click on the back button in
    > browser, it will take you back to the previous page and you can resubmit
    > that page again. What is the best way for me to stop that?
    >
    >
    >
    > Thanks
    >
    >

    Grant 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