Hi Bas,
On Mon, Jan 20, 2014 at 5:27 PM, Bas van Beek <[email protected]> wrote:
> I see only one very simple function potentially being helpful. A simple
> session close without write maybe called session_close(). This would give
> a performance bonus as it will not need to serialize the session data and
> write it back to session storage. It also helps to programmer in cases
> that he wants to guarantee that the session store is not changed by
> script (similar to a transaction abort).
>
I have already added this as session_abort().
Since it's only in 5.6 and master branch, the name could be changed.
However, session_abort() (or something like session_discard()) would be
better name because the name implies it does not save data.
If you come up with better name, please let me know.
Regards,
--
Yasuo Ohgaki
[email protected]