Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form to database then confirm back button displays confirm again

Status
Not open for further replies.
Aug 1, 2003
85
US
I created a form that submits info to an access database then uses server.transfer to send the form values to a thank you page. If I hit the back button the thank you page comes up again and you have to refresh the page to see the form at which point the form has been emptied. Any ideas for a workaround? Any input would be great. Here's a link to the page
 
u could jump them yet again....
A)
sumbit---> thank u page (displayed for 2-3 seconds)--->redirect to start_page.asp

nature of the beast....refresh=submit of the page
u could I guess mess with IE interface..pop up style of page but it gets ugly

B)
other way would be creating a session or a cookie on 1st submit of the be form....
logic:

if submited#_session <>""
Respose.Write("u have already sumbited your info")
Else
do the transfer and insert of records
...
All the best!

:--------------------------------------------------------------------------:
fugitive.gif

All around in my home town,
They tryin' to track me down...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top