Browser reload problem
| From: | Ashley M. Kirchner | Date: | Thu, 29 Jul 2004 03:22:02 +0000 |
| Subject: | Browser reload problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-192145@lists.php.net to get a copy of this message | ||
PayPal passes a ton of data back to us when someone's done purchasing something. I use some of that information and shove it all into a database. Problem is, if someone hits reload on their browser, I get the same data re-inserted again. Reload the page four times, and I will get four records with the same data inserted. How can I avoid this? I'd like to silently either discard the information after it's been inserted, or silently prevent it from being re-inserted again.
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley@pcraft.com> .
303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303,
U.S.A.