Re: httpOnly Cookies [tiny enhancement]
| From: | Ondrej Ivanič | Date: | Sun, 26 Jun 2005 20:23:28 +0000 |
| Subject: | Re: httpOnly Cookies [tiny enhancement] | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16911@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' => ...
);
I think, it will be more readable.
--
Ondrej Ivanic
(ondrej@kmit.sk)