|
Posted by Janwillem Borleffs on 10/11/50 11:53
John Drako wrote:
> I tried:
>
> setcookie("cookie_name", $cookie_value, "", "/");
>
> and
>
> setcookie("cookie_name", $cookie_value, "0", "/");
>
> and of course none of them worked.
>
The manual says:
"Because the expire argument is integer, it cannot be skipped with an empty
string, use a zero (0) instead"
So, do not use "0" but 0.
When working between subdomains of the same father domain, you should also
supply the fifth argument with a value of ".yourdomain.com" (mind the
preceding dot).
JW
Navigation:
[Reply to this message]
|