NYCPHP Meetup

NYPHP.org

[nycphp-talk] setcookie Pt. II

Phil Powell soazine at erols.com
Thu Sep 4 17:20:45 EDT 2003


setcookie('nordicnet_registration', $uplinenumber); // SESSION COOKIE TO BE SET

I have this cookie I have to set that will be session-based (cookie deletes when browser session is closed, the classic).  However, the cookie is set in /Main_page/registrering.php so the path for the cookie is incorrect; I want the path to be '/'.  HOWEVER, PHP is strict on syntax so that if I set a path, I have to set a time int value at the same time.  

I want to set the path and NOT the time int.  How do I do that?

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030904/d2150f75/attachment.html>


More information about the talk mailing list