# PR 664: Streamlining of cookie handling in ext/session and setcookie

- Thread: https://externals.io/message/74862
- Original archive: https://news-web.php.net/php.internals/74862
- Started by Martin Jansen on 2014-06-12T05:28:02+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #74862 — Martin Jansen — 2014-06-12T05:28:02+00:00

URL: https://externals.io/message/74862#74862

About a month ago I've submitted PR 644 to GitHub.  The contained patch
unifies the cookie handling in ext/session and `setcookie()` so we get
consistent Set-Cookie headers in our HTTP responses.

https://github.com/php/php-src/pull/664

It looks like the PR fell of the radar due to the ongoing phpng efforts.
What do you think?

- Martin

---

## #74864 — Andrea Faulds — 2014-06-12T09:03:33+00:00

URL: https://externals.io/message/74862#74864 · In reply to: #74862

> About a month ago I've submitted PR 644 to GitHub.  The contained patch
> unifies the cookie handling in ext/session and `setcookie()` so we get
> consistent Set-Cookie headers in our HTTP responses.
> 
> https://github.com/php/php-src/pull/664
> 
> It looks like the PR fell of the radar due to the ongoing phpng efforts.
> What do you think?

Looks good. I’ve merged it. :)

--
Andrea Faulds
http://ajf.me/
