NYCPHP Meetup

NYPHP.org

[nycphp-talk] Something better than session variables?

Lance Lovette lance.listserv at optimost.com
Thu Jun 12 14:18:14 EDT 2003


If you have the ability to compile extensions into PHP and you're not
running under Windows you may find useful an extension I wrote. It can
currently only cache scalar values though and it sounds like arrays might
prove more useful in your case.

http://pwee.sourceforge.net/

Lance

-----Original Message-----
From: Peter Balogh [mailto:palexanderbalogh at yahoo.com] 
Sent: Thursday, June 12, 2003 11:41 AM
To: NYPHP Talk
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/ ---






More information about the talk mailing list