Re: PHP 6.0 Wishlist
| From: | Jason Sweat | Date: | Mon, 15 Aug 2005 00:19:52 +0000 |
| Subject: | Re: PHP 6.0 Wishlist | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18080@lists.php.net to get a copy of this message | ||
On 8/14/05, George Schlossnagle <george@omniti.com> wrote:
>
> On Aug 14, 2005, at 3:37 PM, Jani Taskinen wrote:
>
> > On Sun, 14 Aug 2005, Ilia Alshanetsky wrote:
> >
> >
> >> If apc comes bundled then it includes apc_store() and apc_fetch()
> >> this
> >> is pretty much $_MEMORY with a few tweaks.
> >>
> >
> > Yes, but that is restricted to one server installations.
> > I need such a 'global session' that is available with multiple
> > front-end servers..ie. using DB as session storage.
>
> ext/session has the framework for doing this. I concur with your
> original idea of augmenting it to provide those services. Perhaps a
> new autoglobal $_GLOBAL_SESSION[]. Thoughts?
>
> George
IIRC, ages ago when I used ASP pages there as an "Application" object
which was basically identical to this concept. I seem to recall using
it for configuration kinds of thing (db connections, etc).
I have resorted to caching for similar needs in PHP, I think
$_GLOBAL_SESSION would be welcome addition, perhaps even allowing for
customs session handlers similar to the $_SESSION now for
multi-processor environments and other unique setup problems.
Regards,
Jason
http://blog.casey-sweat.us/