Re: Lazy writing in the session, session-lock-ini, and bug #68331
| From: | Yasuo Ohgaki | Date: | Wed, 05 Nov 2014 21:30:57 +0000 |
| Subject: | Re: Lazy writing in the session, session-lock-ini, and bug #68331 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78748@lists.php.net to get a copy of this message | ||
Hi all,
On Wed, Nov 5, 2014 at 10:54 AM, Damian Wadley <php@requinix.net> wrote:
> Apparently this caused
> problems for some people as they made 68331 a few days ago.
>
Just a quick note for this. The user would like to access session
data(session handler)
regardless of data modification. I suppose it could be solved if session
has user space
"update" handler as I suggested originally.
Alternatively, session_write_close()/session_commit() may be changed, so
that it
is called unconditionally during shutdown. I have to read the code to be
sure if this is possible.
BTW, anyone know the reason why the user need to call
session_write_close()/session_commit()
unconditionally? Accounting, perhaps?
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net