Re: [PATCH] Addition of setcookie2() to support RFC 2965
| From: | Stanislav Malyshev | Date: | Sat, 25 Aug 2007 20:58:48 +0000 |
| Subject: | Re: [PATCH] Addition of setcookie2() to support RFC 2965 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31906@lists.php.net to get a copy of this message | ||
Here is a patch I am submitting as a recommendation to implement a setcookie2() function to support the Set-Cookie2 response header defined in RFC 2965.I think setcookie2 can ve useful, but a function with 13 arguments is a monster. Especially that you may not use all of them. Maybe it's better to have them as an array of secondary parameters? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com