re-entering...please help!!

Results 1 to 2 of 2

Thread: re-entering...please help!!

  1. #1
    (ralph) Guest

    Default re-entering...please help!!

    hello to all,<BR><BR>I am having a problem with a certain part of my asp code. It works fine and enters all the proper values into the database however if the person hits the "back" button on the browser it adds the values again to the database. How can I prevent this? <BR><BR>the code:<BR>rs.AddNew <BR>rs("name") = Request.QueryString("name")<BR>rs.Update <BR>orderid = rs("nid")<BR>Response.Write "Your message is confirmed and your customer number is = " &nid<BR>rs.Close

  2. #2
    Join Date
    Dec 1969

    Default RE: re-entering...please help!!

    don&#039;t do this in the same page as content. just a plain HTML-free ASP script with a response.redirect at the end. theat way they&#039;ll just end up back at the form *not* the action page.<BR><BR>j

Posting Permissions

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