Re: httpOnly Cookies [tiny enhancement]

From: Date: Mon, 27 Jun 2005 12:24:50 +0000
Subject: Re: httpOnly Cookies [tiny enhancement]
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-16932@lists.php.net to get a copy of this message
Jochen Hansper wrote:
The indexed array 'parameters' is expected to be: array( {int|string} expires [, string path [, domain [, bool secure [,bool httponly]]]] )
Why not like this? array( 'expires' => ..., 'path' => ..., 'domain => ..., 'secure' => ..., 'httponly' => ... );
This was the agreed way. And it makes much more sense, otherwise you would just be emulating the additional parameter. The expire parameter is going to be discontinued and replaced by 'max-age', which makes much more sense (no problems with differences between the server's and client's clock). Nuno

« previous php.internals (#16932) next »