Re: Re: #3793 [Ana->Opn]: session.gc_maxlifetime

From: Date: Sun, 18 Aug 2002 01:07:49 +0000
Subject: Re: Re: #3793 [Ana->Opn]: session.gc_maxlifetime
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-86990@lists.php.net to get a copy of this message
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 >

« previous php.dev (#86990) next »