Re: Anyone wrote persistent variable extension?

From: Date: Wed, 10 Apr 2002 06:12:22 +0000
Subject: Re: Anyone wrote persistent variable extension?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-82439@lists.php.net to get a copy of this message
Hello Yasuo, why invent the wheel again? SRM already supports something like this. As soon as 4.2 is released I'm going to work on it again. Derick On Wed, 10 Apr 2002, Yasuo Ohgaki wrote: > It sounds like a lot of work is expected for msession. > So, I'll write a simple one. > > [RFC for New Module] > Module name: psv (Persistent Server Variable) > Feature: > Maintain auto global $_PERSISTENT array that persists > on single server. > Function: > none. > > Implementtion: > Shared memory (libmm) for multi-process server. > Multi-thread server uses global with lock/unlock. > > Usage: > <?php > > if (!isset($_PERSISTENT['VAR'])) { > include('register_very_large_array.inc'); > } > > ?> > > If you have any comments, especially if you have good names, > please let me know. I probably write this module on this > or next weekend. > > -- > Yasuo Ohgaki > > > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > ----------------------------------------------------------------------- Did I help you? Consider a gift: http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B ----------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net -----------------------------------------------------------------------

« previous php.dev (#82439) next »