[nycphp-talk] setcookie Pt. II
Chris Shiflett
shiflett at php.net
Thu Sep 4 18:26:58 EDT 2003
--- Phil Powell <soazine at erols.com> wrote:
> In my case it would be:
>
> header("Set-Cookie: nordicnet_registration=$uplinenumber; path=/");
Then the path is superfluous, and my original example was right. :-)
Aside from name and value, cookie attributes are restrictive. Having path set
to / is no more restrictive than not including the path attribute.
Hope that helps.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
More information about the talk
mailing list