note 66323 added to function.setcookie
| From: | search dot NO at SPAM dot bookrealm dot com | Date: | Fri, 19 May 2006 05:50:11 +0000 |
| Subject: | note 66323 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-111644@lists.php.net to get a copy of this message | ||
Deleting cookies
Adding to what I posted before:
setcookie('user', '');
will do the same as:
setcookie('user', NULL);
That is, both will delete the cookie.
----
Server IP: 203.202.10.60
Probable Submitter: 203.98.80.140 (proxied: 192.168.0.131)
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/note/edit/66323
Del: integrated -- http://master.php.net/note/delete/66323/integrated
Del: useless -- http://master.php.net/note/delete/66323/useless
Del: bad code -- http://master.php.net/note/delete/66323/bad+code
Del: spam -- http://master.php.net/note/delete/66323/spam
Del: non-english -- http://master.php.net/note/delete/66323/non-english
Del: in docs -- http://master.php.net/note/delete/66323/in+docs
Del: other reasons-- http://master.php.net/note/delete/66323
Reject -- http://master.php.net/note/reject/66323
Search -- http://master.php.net/manage/user-notes.php