From: [EMAIL PROTECTED] Operating system: Windows and FreeBSD PHP version: 4.1.0 PHP Bug Type: Session related Bug description: setcookie does not delete the cookie
Hello, Upon member login we set a cookie using: setcookie('userid','123'); Upon logout, we try deleting it using: setcookie('userid'); I have also tried: setcookie('userid',''); setcookie('ses_userid','0',time()-1); This does not work. Even after logout, the visitor gains access to the member panel. We use Windows with PHP 4.1.0 and also a FreeBSD server with 4.1.1. Regards, Mikhail -- Edit bug report at http://bugs.php.net/?id=15752&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15752&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15752&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15752&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15752&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15752&r=support Expected behavior: http://bugs.php.net/fix.php?id=15752&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15752&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15752&r=submittedtwice