Re: Re: httpOnly Cookies [tiny enhancement]
| From: | Andi Gutmans | Date: | Fri, 24 Jun 2005 14:11:53 +0000 |
| Subject: | Re: Re: httpOnly Cookies [tiny enhancement] | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16892@lists.php.net to get a copy of this message | ||
Yep, that's what I remember too. Would make more sense IMO.
At 11:05 AM 6/24/2005 +0100, Nuno Lopes wrote:
You can find the patches for httpOnly session cookies against the PHP5 CVS HEAD in the attachment. Now also included is support for httpOnly cookies for PHP functions setcookie() and setrawcookie(). bool setcookie ( string name [, string value [, int expire [, string path [, string domain [, bool secure [, bool httponly]]]]] ) bool setrawcookie ( string name [, string value [, int expire [, string path [, string domain [, bool secure [, bool httponly]]]]] )AFAIR, it was agreed not to add more parameters to these functions and overload the third parameter as an array (with new options, like a better expire option). Nuno -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php