Well, I wouldn't call that easy.  To do it in the session handler you
would need to add a bunch of code to the write handler.  It would need to
read the current session data, then compare that to the session data it
was called with, and if different write the new session data.  You aren't
saving much by doing it at that level.  The idea is to support read-only
session requests where the write handler is not called at all when in
read-only mode.

-Rasmus

On Sun, 18 Aug 2002, Yasuo Ohgaki wrote:

> James E. Flemer wrote:
> > Would it be difficult to just add a "dirty" flag somewhere,
>
> It's easy.
> Write your own session save handler does this if needed.
>
> --
> Yasuo Ohgaki
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to