RE: Bug #1347 Updated: setcookie executes after previous cookie value is read
| From: | Jay Willis | Date: | Tue, 11 May 1999 23:48:59 +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-5540@lists.php.net to get a copy of this message | ||
OK, that makes sense. I understand now.
Is there any possible way to send both cookie and location headers at the
same time? That is another thing that I can get away with in .asp's.
> -----Original Message-----
> From: Bug Database [mailto:php-dev@lists.php.net]
> Sent: Tuesday, May 11, 1999 5:12 AM
> To: jwillis@pmz.com
> Subject: 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