make sure that new page's headers do not cache. See www.php.net/header
for examples.
--
Maxim Maletsky
[EMAIL PROTECTED]
"Phil" <[EMAIL PROTECTED]> wrote... :
> I have a PHP page with a form that submits to another PHP processing page.
> On completion of the PHP actions on the processing pag
on 28/01/03 4:42 PM, Phil ([EMAIL PROTECTED]) wrote:
> I have a PHP page with a form that submits to another PHP processing page.
> On completion of the PHP actions on the processing page, I have echoed into
> the page the javascript action of 'location.href=...' and the location is
> redirected t
> I have a PHP page with a form that submits to another PHP processing
page.
> On completion of the PHP actions on the processing page, I have echoed
> into
> the page the javascript action of 'location.href=...' and the location
is
> redirected to the PHP form page that starting the process. Both
I have a PHP page with a form that submits to another PHP processing page.
On completion of the PHP actions on the processing page, I have echoed into
the page the javascript action of 'location.href=...' and the location is
redirected to the PHP form page that starting the process. Both pages take
23, 2002 10:06 AM
To: Crane, Christopher
Subject: Re: [PHP] Page Refresh
Importance: High
i don't undertand why you have the meta refresh in there, but the porblem
you have is simular to any one who clicks refresh on their browser...
essentialy, what you want to do is after the DB insert,
You could use a SESSION variable called for instance 'SUBMIT_TO_DB'.
After submitting to the database, you simply set this variable 'SUBMIT_TO_DB' to
'NO'...
The next time the page is reloaded, you won't have to submit one more time to the
database, provided you check whether 'SUBMIT_TO_DB' is
I use a template page and then split out the middle of the page to do my PHP
stuff depending on a variable I pass to it.
I have a problem I hope someone can help me on.
The template page has a meta refresh in the header set for 60 secs. One of
the things this page does is insert data into a MySQL
7 matches
Mail list logo