note 22637 deleted from function.setcookie by john
| From: | john@php.net | Date: | Sat, 30 Nov 2002 16:38:00 +0000 |
| Subject: | note 22637 deleted from function.setcookie by john | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-40176@lists.php.net to get a copy of this message | ||
It seems that there should be an easy way to update cookies. The setcookie works to set a cookie the
first time, but second time you run a setcookie when you want to update the entry, it kills the
original cookie.
I had in mind to use a cookie to store a session number and give it a lifetime of 15mins, store
important info in the SQL. Each time the user was doing something, the life time was supposed to be
updated with.
I don't have any clue why the cookie dies.