note 42559 added to function.setcookie

From: Date: Fri, 21 May 2004 09:05:00 +0000
Subject: note 42559 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-69901@lists.php.net to get a copy of this message
ok ok.. please explain to me this easy thing... usnig setcookie("zdi",123,time()+120); I create a cookie, right, but I check the cookie properties, and I found that the creation time is MI COMPUTER time, and end time is SERVER time, so, I am trying to create a cookie with 2 minutes of life.. and I get a cookie with some hours of life.. Its a XP bug? server bug? or simply a server misconfiguration? thank you ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42559 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42559&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42559&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69901) next »