ID:               20571
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: Windows NT 5.0
 PHP Version:      4.3.0RC1
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.


Previous Comments:
------------------------------------------------------------------------

[2002-11-22 08:41:24] [EMAIL PROTECTED]

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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=20571&edit=1

Reply via email to