Re[2]: [PHP] Can't set a cookie? [SOLVED]
| From: | Julie Meloni | Date: | Sun, 16 Jun 2002 08:14:37 +0000 |
| Subject: | Re[2]: [PHP] Can't set a cookie? [SOLVED] | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102384@lists.php.net to get a copy of this message | ||
C> I've recently been learning about cookies myself, and had the same problem
C> with "" vs. 0 (PHP Fast&Easy Web Development showed the "" in their
C> book).
The book was written in 2000 and the change is in some recent version
of PHP. The instructions have been altered in the 2nd edition of the
book.
C> I know that setting the expire parameter to 0 is supposed to kill the cookie
C> when browser is closed, but I can't seem to make that happen.
Using "0" in the time slot does work for this, as long as the entire
browser process ends.
- Julie
--> Julie Meloni
--> julie@thickbook.com
--> www.thickbook.com
Find "Sams Teach Yourself MySQL in 24 Hours" at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20