cookie problem
| From: | Mark Lo | Date: | Fri, 15 Sep 2000 15:37:31 +0000 |
| Subject: | cookie problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16915@lists.php.net to get a copy of this message | ||
Hi,
I have a question about the retrival of cookie value.
I have set a cookie in the secure web server page.
in https://domain.com/setcookie.php
setcookie("xxxxx",$value,0,"www.domain.com",0);
I wonder why can't i retrive the value of the cookie in a non-secure web server enviroment.
As stated in the manual if the last values is 0, the cookie can be retirve in a non-secure web
server environment, but i cannot.
in http://domain.com/cookie_value.php
echo $xxxxx; -->the values of the cookie contains nothing.
but in https://domina.com/cookie_value.php
echo $xxxx --> i can see the values.
Please point me out the error, thank you.
Mark Lo