You are here: Re: Clearing the "form submit" cache: how? « PHP Programming Language « IT news, forums, messages
Re: Clearing the "form submit" cache: how?

Posted by axlq on 11/18/07 06:17

In article <3e8391a8-b8f6-4e92-a6c6-ab508f1aa32e@b36g2000hsa.googlegroups.com>,
ZeldorBlat <zeldorblat@gmail.com> wrote:
>On Nov 17, 10:42 pm, a...@spamcop.net (axlq) wrote:
>> In article <ae57203b-6781-4068-b1b6-9317e3549...@e1g2000hsh.googlegroups.com>,
>>
>> ZeldorBlat <zeldorb...@gmail.com> wrote:
>>
>> >With a little bit of searching you should be able to find it.
>>
>> Perhaps I am using the wrong terminology in my search. All I find
>> are articles about form data being lost, not on intentionally losing
>> it.
>
>Perhaps "form double post" or "form double submission" would work?

Ah. Yes, thanks.

MY searches only turned up non-useful information (and eventually my
original posting). For searches by others in the future:

Apparently the trick is to separate the form processing URL from the
output URL. That is, have the form on page1.php execute page2.php,
which does processing but no output, and then use header("Location:
page3.php") to redirect to the result page that actually does
output. Then, refreshing page3.php will simply refresh the page
without re-submitting the form on page1.php.

-A

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация