|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9424 Setcookie don't work well
Submitted: 2001-02-23 11:25 UTC Modified: 2001-02-26 04:17 UTC
From: ncosta at seist dot com Assigned:
Status: Not a bug Package: HTTP related
PHP Version: 4.0.4pl1 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-02-23 11:25 UTC] ncosta at seist dot com
I try to use this function to prevent that the same visitor vote for more than one time in a hour but it don't work, the code is this:
$time=$time + 36000;

If the visitor vote, the vote counts, than if he try to vote again the vote don't count, but if he try again it counts, the cookie is delete and i don't know why, i use IE 5.5. 
Can some one help me.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-26 04:17 UTC]
Read the manual page for setcookie:

and ask further support questions on


 [2002-04-22 12:22 UTC] ftouanen at yahoo dot fr
Bugs are existing when using setcookie PHP function under WINDOWS NT or 2K, or with IE5.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 15:01:29 2024 UTC