Good point. That could be it. Although for the domain you specified, if you
do want to specify the root as the domain, simply use "/" (and maybe you
can leave this empty, I'd have to double-check). I don't know what ".."
will produce as a result, but I know that setting "/" as a domain does work.

Hope this helps

Olivier

At 09:11 2001-05-03 +1000, Ignatius Teo wrote:
>How are you setting the cookie? And what are you doing after you set the
>cookie?
>
>Note that the cookie "…will not become visible until the next loading of a
>page that the cookie should be visible for…" (c.f.
>http://www.php.net/manual/en/ function.setcookie.php).
>
>HTH,
>
>Ignatius Teo
>
>
>-----Original Message-----
>From:  r.gelstharp [mailto:[EMAIL PROTECTED]]
>Sent:  Thursday, 3 May 2001 08:46
>To:    [EMAIL PROTECTED]
>Subject:       Re: [PHP-WIN] trouble with cookies
>
>1)hmmm, I'm using Internet Explorer, and when I created cookies with ASP
>they seemed to work, so it can't be that.
>
>2)This might be the answer, but when you specify the domain in setcookie as
>".." doesn't that mean that you set it to the default which is the host name
>of the server, and therefore since the PHP file/s I'm using are all in the
>root directory shouldn't it work?
>3)Them being stubborn would seem to be the answer here it seems. I've had
>enough trouble with trying to get my PHP stuff up and running in time as is
>without this to add to it.
>
>Looks like I'll just have to try passing them as regular variables or
>something instead.
>
>Thanks all. But please don't stop with any recommendations you have.
>
>Hubert Olivier <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> This might be caused by several factors. Here are the ones I remember:
>>
>> 1) The browser you are using simply does not accept cookies
>> 2) The PHP file trying to read info from the cookie with the isset ()
>> function is not located within the domain specified in the setcookie()
>function
>> 3) There is indeed a configuration problem with PHP/Apache. But as Flint
>> mentionned, cookies are a tough lot, so it's rather unlikely.
>>
>> Hope this helps!
>>
>> Olivier
>>
>> At 23:18 2001-05-02 +0100, r.gelstharp wrote:
>> >The trouble I'm having is simply that I'm using the setcookie() function,
>> >and it doesn't seem to be setting the cookies. I know this because I use
>the
>> >isset() function to check on all the pages that use the cookies plus I've
>> >used $HTTP_COOKIE_VARS to check also. It just ain't doin' it.
>>
>> --
>> PHP Windows 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]
>>
>
>
>
>--
>PHP Windows 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]
>
>
>-- 
>PHP Windows 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]


--
PHP Windows 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