• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
validation and data afterwards

#2
[eluser]Hyra[/eluser]
As for number 2:

If you indeed redirect (header: location) to a success-page, refreshing that page won't resubmit the form data, as it's static.


For number 3 (which would make solving point 1 unnecessary), there is no real way to do this.

What you could do is use sessions, and set a session var when the form is submitted. Then check that session var to see if the form has already been submitted. Maybe use timestamps to prevent resubmitting for 5 minutes.


Messages In This Thread
validation and data afterwards - by El Forum - 03-03-2008, 07:25 AM
validation and data afterwards - by El Forum - 03-03-2008, 07:37 AM
validation and data afterwards - by El Forum - 03-03-2008, 07:41 AM
validation and data afterwards - by El Forum - 03-03-2008, 07:47 AM
validation and data afterwards - by El Forum - 03-03-2008, 08:35 AM
validation and data afterwards - by El Forum - 03-03-2008, 08:38 AM
validation and data afterwards - by El Forum - 03-03-2008, 08:40 AM
validation and data afterwards - by El Forum - 03-03-2008, 08:47 AM
validation and data afterwards - by El Forum - 03-03-2008, 09:00 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.