You are here: Re: How to prevent re-posts and stupid re-post warning message on page refresh [SOLVED] « All PHP « IT news, forums, messages
Re: How to prevent re-posts and stupid re-post warning message on page refresh [SOLVED]

Posted by Dennis de Wit on 08/21/06 11:28

redman.mainecoon@gmail.com wrote:
> Rik wrote:
>> Well, I'd be flabbergasted when this method actually worked.
>> Some insight: if the user hits the back button, and goes back to a page
>> where he arrived using a POST, and the browser does indeed request the page
>> again, instead of getting it form it's cache, POST values are send with the
>> HTTP request again. So the $_POST array will be populated, the script will
>> work as it did before.
>>
>> The method mentioned here is utterly useless IMO.
>>
>> Grtz,
>> --
>> Rik Wasmus
>
>
> Best to ignore Rik. He's a career troll.
>
> RM


I have to agree with Rik. I also don't think it will work. Would
changing a value in the $_POST array also change this permanently and so
post the new value again when you reload your page? How does this
interact with the client? Does the browser receive a message when these
variables are unset? Right... I don't believe so either...

Dennis

 

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

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