Re: [PATCH] default session serialization
| From: | Michael Shadle | Date: | Sun, 22 Nov 2009 05:20:26 +0000 |
| Subject: | Re: [PATCH] default session serialization | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46158@lists.php.net to get a copy of this message | ||
On Sat, Nov 21, 2009 at 9:16 PM, Arpad Ray <arraypad@googlemail.com> wrote:
> However it would be a significant BC break, as old serialized session
> records would be unreadable after upgrading. We could mitigate this by
> providing a script to convert old session files.
I would say just a note saying "old session files if they exist will
be unreadable after this change"
Also GC would not clean them up either? That might be the worse thing.
Upgrading should be something people understand could mean downtime or
slight changes like losing session data and it should be an acceptable
loss... I use MySQL for my sessions currently; would the key for the
session be changed then or only the session data? If so, only people
using files would be affected anyway, right?