note 24274 rejected from function.session-destroy by betz
| From: | betz@php.net | Date: | Sun, 11 Aug 2002 23:29:28 +0000 |
| Subject: | note 24274 rejected from function.session-destroy by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34823@lists.php.net to get a copy of this message | ||
hey guys, setcookie($sname,"","","/"); does not work fine for me, it
returns the follow error:
Warning: setcookie() expects parameter 3 to be long, string given
So i've to use this code:
setcookie($sname,"","0","/");
Now everything seems fine