Hello,
I have a form page and a processing page. After submitting the form the
processing page does whatever it needs to do (insert a record, send back
validation errors, etc.) After determing what to do it always redirects
somewhere with header('Location: URL');
But sometimes when I'm back at
On 4/3/07, Chris W. Parker [EMAIL PROTECTED] wrote:
Hello,
I have a form page and a processing page. After submitting the form the
processing page does whatever it needs to do (insert a record, send back
validation errors, etc.) After determing what to do it always redirects
somewhere with
To: PHP
Subject: [PHP] Why do some pages repeat a previous page's
action(s) after redirect?
Hello,
I have a form page and a processing page. After submitting
the form the
processing page does whatever it needs to do (insert a
record, send back
validation errors, etc.) After
On Tuesday, April 03, 2007 11:44 AM Tijnema ! mailto:[EMAIL PROTECTED]
said:
This is the only behavior i know of, a refresh action does the same
action he did for loading the current page again. If you submit data
to that page, it will resubmit the data. If you're using the
Location:URL
Hi Chris,
But sometimes when I'm back at the form page (after the redirect)
and I refresh the page it does the previous page's actions again.
Can you provide a raw HTTP dump of the complete scenario?
Chris
--
Chris Shiflett
http://shiflett.org/
--
PHP General Mailing List
Tijnema wrote:
If you're using the Location:URL header entry, the browser doesn't
saves this action as an action did by the browser itself, and so
it will submit the data to the page where you redirect.
Either you misunderstood his question, or you misunderstand what
header('Location: ...')
On Tuesday, April 03, 2007 12:35 PM Chris Shiflett
mailto:[EMAIL PROTECTED] said:
But sometimes when I'm back at the form page (after the redirect)
and I refresh the page it does the previous page's actions again.
Can you provide a raw HTTP dump of the complete scenario?
Two things:
1. How
Can you provide a raw HTTP dump of the complete scenario?
Two things:
1. How do I do that?
Probably the easiest thing to do these days is use a Firefox extension
like Firebug or LiveHTTPHeaders.
Chris
--
Chris Shiflett
http://shiflett.org/
--
PHP General Mailing List
8 matches
Mail list logo