Reply to Re: avoid post resubmit on refresh

Your name:

Reply:


Posted by Bob Bedford on 06/20/05 10:32

"www.douglassdavis.com" <douglass_davis@earthlink.net> a écrit dans le
message de news: 1119018024.018592.105860@o13g2000cwo.googlegroups.com...
>
> POST to the same page.
>
> If the result is unsucsessful, show the errors, and allow them to
> resubmit.
>
> If the result is successful (page has been processed), use a header to
> redirect to the same page with a GET parameter such as success=true,
> then just display the "Your Email has been sent!" message.
>
> When it POSTS, it does the processing, when it GETS it displays the
> result.
>
> Only downside is you can't echo all the info that the user just typed
> in.
>
> For a really long explanation:
> http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost
>
>
> ---
> PHP Stuff:
> http://www.douglassdavis.com
>
>
Thanks for the tip !

Cheers.

Bob

[Back to original 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

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