Re: Bug #1347 Updated: setcookie executes after previous cookie value is read

From: Date: Wed, 12 May 1999 04:49:21 +0000
Subject: Re: Bug #1347 Updated: setcookie executes after previous cookie value is read
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-5543@lists.php.net to get a copy of this message
The problem here is that if the browser is not accepting cookies, you are making an incorrect assumption that the cookies are set. If you want the var set, you can always simply set it. Brian Moon ------------------------------------------------------------------------- Phorum Dev Team - http://www.phorum.org Making better forums with PHP ------------------------------------------------------------------------- ----- Original Message ----- From: Bug Database <php-dev@lists.php.net> To: <php-dev@lists.php.net> Sent: Tuesday, May 11, 1999 7:12 AM Subject: [PHP-DEV] Bug #1347 Updated: setcookie executes after previous cookie value is read > ID: 1347 > Updated by: sas > Reported By: jwillis@pmz.com > Status: Closed > Bug Type: Misbehaving function > Assigned To: > Comments: > > Actually, the code is working as expected. There is a little misconception on your side. PHP does not know which cookies you've set within a page. It only makes available cookies which were sent with the HTTP request for the page. ASP differs in this aspect that it knows (remembers) which cookies were set by you in the current script and makes this information available to you. > > > Full Bug description available at: http://bugs.php.net?id=1347 > > > -- > PHP Development Mailing List http://www.php.net/ > To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net > For help: php-dev-help@lists.php.net > > > -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#5543) next »