|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Submit problem
<i><b>Originally posted by : LIe</b></i><br />In my page When i submit a survey, i get the coupon page.<br />If i press the BACK button, and then press SUBMIT again, i don't get the coupon page, but the survey answers do get submitted again. Means it get submit in database again.<br />I dont know how do i stop it from submiting same data again when user click on back button.<br /><br /><br />thanks<br /><br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : yusuf (y_sheikh@hotmail.com)</b></i><br />hi,<br /><br />when the user says submit. store a flag in the session or cookies. so next time when the user try it you can check the flag and take action<br /><br />yusuf<br /><br /><br />------------<br />LIe at 2/28/2000 10:43:42 AM<br /><br />In my page When i submit a survey, i get the coupon page.<br />If i press the BACK button, and then press SUBMIT again, i don't get the coupon page, but the survey answers do get submitted again. Means it get submit in database again.<br />I dont know how do i stop it from submiting same data again when user click on back button.<br /><br /><br />thanks<br /><br />
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Submit problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|