php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1671 setcookie function always returns false
Submitted: 1999-07-06 14:29 UTC Modified: 1999-07-06 14:37 UTC
From: mvenkatesh at worldnet dot att dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.11 OS: Win NT w/s
Private report: No CVE-ID: None
 [1999-07-06 14:29 UTC] mvenkatesh at worldnet dot att dot net
setcookie function returns false whether cookies is set or not set.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-06 14:37 UTC] sas at cvs dot php dot net
setcookie doesn't return anything. At the point you set the cookie you cannot know whether the client will accept it or not.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 13 22:00:02 2026 UTC