Re: Re: setcookie() and Max-Age

From: Date: Wed, 18 Aug 2004 11:54:54 +0000
Subject: Re: Re: setcookie() and Max-Age
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-12215@lists.php.net to get a copy of this message
On Wed, 18 Aug 2004, Christian Schneider wrote: > Rasmus Lerdorf wrote: > > How about this: > > setcookie('name',$value,array('Max-Age'=>3600, > > 'Comment'=>$comment, 'Path'=>'/'); > > One drawback is that people have to know about the cookie > specifications, e.g. 'Max-Age': Is it case sensitive, does it have a > dash between max and age, etc? That should at least be well-covered in > the documentation to avoid having to look at the RFC. It can be made case-insensitive. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

« previous php.internals (#12215) next »