Re: post & redirect

From: Date: Wed, 20 Apr 2005 02:38:33 +0000
Subject: Re: post & redirect
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213451@lists.php.net to get a copy of this message
* 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

« previous php.general (#213451) next »