Re: Cookies problem

Thanks a lot! This has solved my problem.

regards
-mukul

At 09:07 AM 1/17/00 +0000, Igor Clark wrote:
>Make sure the cookie 'path' attribute is set to a directory which includes
>all the subdirectories you want to read it from - in the case of the
>example you have given, you probably want 'path=/;'
>
>bests
>Igor
>
>On Thu, 17 Feb 2000, Mukul Gandhi wrote:
>
>> Hello All ,
>> I am running a PHP script on the server with URL
>> http://machine/dir1/script.php3 . This script is successfully setting
>> cookie on the client. When I run another PHP script on the server with URL
>> http://machine/dir2/cokkieread.php3 (this program is reading the cookie), I
>> am unable to read the cookie. But when I place the same cookieread.php3
>> program in dir1 , cookies are being read.
>> I am setting cookie with default settings i.e Set-cookie: UID="mukul";  Why
>> is this difference occuring due to directories? I am using PHP 3.0.12 on NT
>> Workstation 4.0
>> 
>> regards
>> -mukul


--------------------------------------------------------------
Bharti Cellular Limited, New Delhi, India

Received on Thursday, 17 February 2000 07:15:21 UTC