Reply to Re: post & redirect

Your name:

Reply:


Posted by Matthew Weier O'Phinney on 04/20/05 05:38

* Jem777 <camillo@rockit.it>:
> If I submit a post and then, serverside, I redirect the request to another
> page, do the post variables still live in the new page?

No. HTTP requests are stateless, meaning they have no memory of what
requests happened before or after, or how those requests were made. PHP
does not affect that behaviour at all; it's entirely a matter of the
HTTP protocol.

If you want the POST variables to propogate to the redirected page, use
a session.

--
Matthew Weier O'Phinney | WEBSITES:
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org
mailto:matthew@garden.org | http://vermontbotanical.org

[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

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