Re: SessionManager

From: Date: Wed, 27 Jun 2001 13:57:28 +0000
Subject: Re: SessionManager
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-499@lists.php.net to get a copy of this message
On Wed, 27 Jun 2001, Jon Parise wrote: > On Tue, Jun 26, 2001 at 10:36:46PM +0200, Hans Westerbeek wrote: > > > Has there been any work done on creating a session manager class? It's > > functionalities need not to be very exotic...My opinion > > is that it would be good for us to deal with sessions in a single way, > > especially since sessions are used so often. Therefore I am sort of scared > > that work is already in progress and that I have missed out ;-) > > How would its methods differ from the standard session_* > functions? > > We tried creating a Session wrapper class for Horde about a year > ago or so, and we ditched it when we realized we weren't getting > any "value added" benefits over calling the session functions > directly. It's the same value as for the XML_Parser class for example... There's nothing in there that you can't do by using the primitive functions yourself.... But: the value (to me) is the fact that it can be used in other (future) PEAR-components. Aren't sessions a vital PHP-functionality? Vital functionalities should be used in the same fashion as much as possible, i.e. with a wrapper class. In the end that wrapper class will be bug-free, saving the developer of a new Pear component that requires sessions a lot of work... Regards, Hans

« previous php.pear.dev (#499) next »