php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15751 Cookie does not delete
Submitted: 2002-02-27 02:13 UTC Modified: 2002-02-27 02:42 UTC
From: mikhail at stylusinc dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.1.0 OS: Windows and FreeBSD
Private report: No CVE-ID: None
 [2002-02-27 02:13 UTC] mikhail at stylusinc dot com
Hello,

Upon login, I set the cookie using:

setcookie('userid','123');

Upon logout, I do this:

setcookie('userid');

It does not delete the cookie. The user still gains access to the member panel even after logout.

Thanks,
Mikhail

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 22:01:31 2024 UTC