Re: [PHP-DEV] Bug #23955: Cookie Max-Age attribute

2012-12-28 Thread Andrey Andreev
It is briefly noted in the RFC (mine, not 6265) that negative values and 0 have the same effect. It's practically irrelevant which one is sent. My original commit actually did checks for negative values and sent zeros instead of them, but then somebody on github pointed out that they are

Re: [PHP-DEV] Bug #23955: Cookie Max-Age attribute

2012-12-27 Thread Stas Malyshev
Hi! > "Max-Age" would simply be added to all Set-Cookie headers, after the > "Expires" attribute. I thought that was obvious, but I'll make sure to > add a few examples to make it clearer. I think it makes sense, only note is that it makes no sense to set Max-Age to any negative number, espec

Re: [PHP-DEV] Bug #23955: Cookie Max-Age attribute

2012-12-27 Thread Andrey Andreev
Yes, of course - those are all valid points that you've listed. Updated the RFC with the suggested additions. Hopefully it's more easily understandable now. :) Quoting Sherif Ramadan : Well, even if it were obvious the RFC should be a technical specification of what's being introduced. Thin

Re: [PHP-DEV] Bug #23955: Cookie Max-Age attribute

2012-12-27 Thread Sherif Ramadan
On Thu, Dec 27, 2012 at 9:51 PM, Andrey Andreev wrote: > Quoting Sherif Ramadan : > > There's no mention in the RFC of how the functionality will work in PHP. >> Is >> it possible to add example code of how it is to be used based on this >> implementation? >> > > "Max-Age" would simply be added

Re: [PHP-DEV] Bug #23955: Cookie Max-Age attribute

2012-12-27 Thread Andrey Andreev
Quoting Sherif Ramadan : There's no mention in the RFC of how the functionality will work in PHP. Is it possible to add example code of how it is to be used based on this implementation? "Max-Age" would simply be added to all Set-Cookie headers, after the "Expires" attribute. I thought that

Re: [PHP-DEV] Bug #23955: Cookie Max-Age attribute

2012-12-27 Thread Sherif Ramadan
On Thu, Dec 27, 2012 at 9:26 PM, Andrey Andreev wrote: > At last, I was able to write an RFC about this: > > https://wiki.php.net/rfc/**cookie_max-age > > - Andrey > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit:

Re: [PHP-DEV] Bug #23955: Cookie Max-Age attribute

2012-12-27 Thread Andrey Andreev
At last, I was able to write an RFC about this: https://wiki.php.net/rfc/cookie_max-age - Andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Bug #23955: Cookie Max-Age attribute

2012-12-10 Thread jpauli
On Mon, Dec 10, 2012 at 1:28 PM, Andrey Andreev wrote: > Hello all, > On a pull request submitted via github, it was suggested to me that I > should write an RFC about the feature that I'm proposing as well as to > write about it here on the internals mail list. > However, creating new pages (inc