note 32715 rejected from function.setcookie by betz

From: Date: Thu, 05 Jun 2003 08:45:55 +0000
Subject: note 32715 rejected from function.setcookie by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-49775@lists.php.net to get a copy of this message
Note Submitter: temp@downloadav.com ---- Quick question. I can create a cookie, and it works fine (able to retrieve it) from a html file inside domain.com, but it doesn't work (can't retrieve the cookie) if the html file is inside domian.com/path I did set the path as '/' when setting the cookie, so the entire domain should be able to see the cookie. This is what I used to set cookie: @setcookie('LangCookie',1,time(),'/','domain.com',0); Anybody could help? Thanks.

« previous php.notes (#49775) next »