|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-22 11:18 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Feb 12 17:00:01 2026 UTC |
My current version is : php-4.3.0pre2-Win32 It's a cookie problem. I'm using setcookie("visit",$nb_visit+1,mktime(0,0,0,12,31,2002),"/php/","www.quartz.fr",false); In HTTP documentation domain must have at least two dots. If I check in the cookies manager of the navigator, the domain is set as ".www.quartz.fr". If I don't put path and domain in setcookie(), the domain is correct. This is a problem only if I want to delete the cookie... I call setcookie("visit"); and PHP add the default domain "www.quartz.fr", and the navigator creat a new cookie! One for ".www.quartz.fr" and the second for "www.quartz.fr"! The only