|
Posted by John Drako on 10/11/35 11:53
I need to set a session cookie (expires when the browser closes) with a
path of "/".
Is there a way to do it?
I tried:
setcookie("cookie_name", $cookie_value, "", "/");
and
setcookie("cookie_name", $cookie_value, "0", "/");
and of course none of them worked.
I can't move the page that is setting the cookie to the top level
directory of the site, but I need the cookie to be available to couple
of page there.
Is this doable at all?
TIA
[Back to original message]
|