|
Posted by Rik Wasmus on 11/20/07 16:53
On Tue, 20 Nov 2007 17:48:52 +0100, mtuller <mituller@gmail.com> wrote:
> I have a page that submits data to a database, and I want to make it
> so that if the page is refreshed, it doesn't submit the information
> again. I am trying to use unset the variables so that if the page is
> refreshed, it will not submit again. I saw a post about setting a time
> delay of something like 30 seconds, but would prefer just to unset the
> variable.
This question has been asked dozens of times, in the last few weeks even.
Search the archive (hint: header redirect).
Unsetting a $_POST variable would be nonsense, as it will be repopulated
on a new POST request from the browser/user/UA.
--
Rik Wasmus
Navigation:
[Reply to this message]
|