NYCPHP Meetup

NYPHP.org

[nycphp-talk] Something better than session variables?

Peter Balogh palexanderbalogh at yahoo.com
Thu Jun 12 13:28:21 EDT 2003


John:

This is extremely helpful.  Thanks! The only nagging doubt I have is
whether a serialized variable stored in flat file format is going to
incur a major performance hit if it happens to be, say, an enormous
associative array. But then, that's another issue entirely--and the
performance can't really be any worse than we're currently getting from
thousands of database calls...

Thanks again,

Peter

--- "John W. Markert" <markert at optonline.net> wrote:
> Sorry..forgot the links...
> 
> http://coveryourasp.com/Application.asp
> 
> http://www.leosolutions.com/resources/phpapp/
> 
> ----- Original Message ----- 
> From: "John W. Markert" <markert at optonline.net>
> To: <talk at nyphp.org>
> Sent: Thursday, June 12, 2003 12:19 PM
> Subject: Re: [nycphp-talk] Something better than session variables?
> 
> 
> > Microsoft's IIS has Application Variables which, if I recall
> correctly,
> are
> > specific to an application. Here are 2 links which may be of help.
> > The first covers Application variables in an IIS environment; the
> second
> > covers how someone converted an IIS applicaion to a PHP
> environment. Hope
> > this is useful.
> >
> >
> > ----- Original Message ----- 
> > From: "Peter Balogh" <palexanderbalogh at yahoo.com>
> > To: "NYPHP Talk" <talk at nyphp.org>
> > Sent: Thursday, June 12, 2003 11:41 AM
> > Subject: [nycphp-talk] Something better than session variables?
> >
> >
> > > Hello all--
> > >
> > > We have multiple users accessing a big tree of data that's very
> > > expensive to calculate each time. Ideally, it would be great to
> have
> > > the tree drawn once and then have all the other users access it
> as
> > > though it were a global SESSION variable visible to all users.
> > >
> > > First of all, is there such a thing as a SESSION variable that's
> > > visible to all?
> > >
> > > And then, to send the pie even further into the sky, is there a
> way to
> > > have a SESSION variable that's held in RAM instead of written to
> a flat
> > > file?  (Yes, I'm getting greedy in terms of speeding things up.)
> > >
> > > Any information and/or links would be very appreciated.
> > >
> > > Thanks,
> > >
> > > Peter
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> > > http://calendar.yahoo.com
> > >
> > >
> > > 
> > >
> > >
> >
> 
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



More information about the talk mailing list