Re: How to prevent duplicate record insertion after refreshing php page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 2:30 PM +0200 5/19/10, Peter Lind wrote:
At 5:43 PM +0530 5/19/10, Deva wrote:
-snip-

Still if I do refresh on
thank-you page it adds one more record in database.
How to prevent it without token?

--
Devendra Jadhav

Also, note that you should consider using form tokens, so you don't
get caught by double submits and cross site form posts, etc.

Regards
Peter

+1

There's no significant downside to using a token and it works.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux