Hi,

I have similar problems.  I am using w2k server IIS5, php 4.1.2, and one of
the php programs that requires cookie is not working.  I've checked the
cookies directory but didn't find any cookie being created.  I've turned on
every parameters which seems to be cookie related in php.ini, but still
doesn't work.

If anyone know the trick, please help.

Thanks
Barry


"Arijit Chaudhuri" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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