From:             [EMAIL PROTECTED]
Operating system: Win2k with IIS 5.0
PHP version:      4.0.4pl1
PHP Bug Type:     IIS related
Bug description:  Setcookie does't work

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 Bug report at: http://bugs.php.net/?id=10973&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to