Richard Morley mailto:[EMAIL PROTECTED]
on Thursday, February 03, 2005 9:57 AM said:
I'm not sure if this is specifically a PHP problem, but here we go. Is
there a way to clear the POST variables when the user refreshes a
page?
[snip]
I read something somewhere that seemed to imply this
Richard Morley wrote:
I'm not sure if this is specifically a PHP problem, but here we go. Is
there a way to clear the POST variables when the user refreshes a page?
Specifically, my webpage POSTs a form to update or delete a record from
the database -- it POSTs to itself, however. But if the
Richard Lynch mailto:[EMAIL PROTECTED]
on Thursday, February 03, 2005 11:26 AM said:
A simple thing to do is to put an md5 hash into the POST data, then
only do the insert if that md5 hash isn't already used when they
hit refresh.
This avoids the hassle of re-direct headers and trying
Richard Lynch mailto:[EMAIL PROTECTED]
on Thursday, February 03, 2005 11:26 AM said:
A simple thing to do is to put an md5 hash into the POST data, then
only do the insert if that md5 hash isn't already used when they
hit refresh.
Thank you for your responses. One question: If I were to use
Chris W. Parker wrote:
Richard Lynch mailto:[EMAIL PROTECTED]
on Thursday, February 03, 2005 11:26 AM said:
A simple thing to do is to put an md5 hash into the POST data, then
only do the insert if that md5 hash isn't already used when they
hit refresh.
This avoids the hassle of
Ricky Morley wrote:
Richard Lynch mailto:[EMAIL PROTECTED]
on Thursday, February 03, 2005 11:26 AM said:
A simple thing to do is to put an md5 hash into the POST data, then
only do the insert if that md5 hash isn't already used when they
hit refresh.
Thank you for your responses. One
You're wonderful. Thank you very much.
On Thu, 3 Feb 2005 13:02:14 -0800 (PST), Richard Lynch [EMAIL PROTECTED]
wrote:
Ricky Morley wrote:
Richard Lynch mailto:[EMAIL PROTECTED]
on Thursday, February 03, 2005 11:26 AM said:
A simple thing to do is to put an md5 hash into the POST data,
On 3 Feb 2005 Richard Lynch wrote:
If it was only two pages, and there was only one header() re-direct, fine.
But what ends up happening is you get in the habit of doing this all over
the place, and you have a mess of spaghetti logic spread over a hundred
files.
That is a problem with
8 matches
Mail list logo