Bug #10973 Updated: Setcookie does't work
| From: | sniper@php.net | Date: | Tue, 18 Jun 2002 22:29:16 +0000 |
| Subject: | Bug #10973 Updated: Setcookie does't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11231@lists.php.net to get a copy of this message | ||
ID: 10973
Updated by: sniper@php.net
Reported By: theerapong@yahoo.com
-Status: Duplicate
+Status: Bogus
Bug Type: IIS related
Operating System: Win2k with IIS 5.0
PHP Version: 4.0.4pl1
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2001-11-11 12:24:35] sander@php.net
Dupe of 12540 which has more info so I'm closing this one.
------------------------------------------------------------------------
[2001-05-20 00:46:24] theerapong@yahoo.com
I try to Setcookie to write in client browser with this script
<?
if(!$CartID){
$CartID=md5(uniqid(rand()));
SetCookie("CartID",$CartID,time()+3600);
}
?>
It's work well with Redhat with Apache but When I try to user this
script in Win2k with IIS5.0 It doesn't work.
No cookie was write.
detail in PHP.in as following:
session.auto_start Off
session.cache_expire180
session.cache_limiter nocache
session.cookie_domain no value
session.cookie_lifetime 0
session.cookie_path /
session.cookie_secure Off
session.entropy_file no value
session.entropy_length 0
session.gc_maxlifetime 1440
session.gc_probability 1
session.name PHPSESSID
session.referer_check no value
session.save_handler files
session.save_path /tmp
session.serialize_handler php
session.use_cookie On
Thank you
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10973&edit=1