note 2870 deleted from setcookie by ronabop

From: Date: Sat, 26 Aug 2000 05:36:42 +0000
Subject: note 2870 deleted from setcookie by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3335@lists.php.net to get a copy of this message
Subj.: setcookie expire time. "The expire argument is a regular Unix time integer as returned by the time()". So expire argument is an absolute time. If I want to leave a cookie alive for three hours how can I do? If I set the expire argument as (time()+3*3600), this time is set according the clock of the my server and not according the clock of the client's computer. What will happen to the cookies set on the computers in China? Is there any way to know the clock time of the client computer? I hope someone will understand my problem. Thanks and regards. Marco

« previous php.notes (#3335) next »