Hi,

Apart from RedHat Linux, I have also started using PHP on Windows 2000
Professional with MySQL database. Eveything is working perfectly except
cookies. As an example, if I use the following code:

<?php
   setcookie("name", "test") ;
   print("$name") ;
?>

"test" is not printed at first. If I do a browser refresh, it does get
printed. This is true even if I set all relevent parameters for setcookie.

The cookies work fine in Linux and also on all my clients Linux server.

I am using the php.exe file from the InstallShield version of Windows PHP
from php.net. Would greatly appreciate any help on where I am going wrong or
what needs to be done. The php.ini file has a session save path but nothing
for cookies.

Regards,
Arijit Chaudhuri



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to