Re: [phplib] Session IV From: Sascha Schumann (sascha <email protected>)
Date: 05/30/01

> The better way is to change the PHP session module behavior itself, by
> passing a readonly flag to the session_start(), so the core functions
> that write the state could see it and refused to write anything if the
> readonly flag is set. I've posted a feature request in January, but it
> is still nowhere. The history is at http://www.php.net/bugs.php?id=8978.
> You can also find a patch there made by me that could provide such a
> functionality (quite usable for me). If it merged into PHP CVS, some
> hacks that make read-only session possible with Session4 classes will
> appear at PHPLib CVS.

    You can already get similar (while not equivalent) behaviour
    using session_write_close().

    - Sascha Experience IRCG
      http://schumann.cx/ http://schumann.cx/ircg

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>