On Sunday 29 October 2006 19:21, Michal Manko wrote: Thanks, And I found APC had shared memory access like this if(!$_LIVE['_CONF'] = apc_fetch('_LIVE_CONF')) { require('inc/config.inc.php'); apc_store('_LIVE_CONF',$_LIVE['_CONF']); } Regards Sancar > Hi, > Best reference will be http://php.net/memcache i think. > Memcache is really effective tool, but it have one fault. Data keeping > in this way are not stable. > Generally memcache is useful as a some kind of cache when you can have > second data source, or when data, you want to save, have short ttl (time > to live) (f.e. sessions ;-) ). > But I recommend it. > > Have fun ;) > > Michael > > Sancar Saran said: > > Hi, > > Recently I discoverd Memcache daemon for sessions, I'm very pleased its > > performance. > > > > I want to use memcache other than $_SESSION > > > > For example, I have an array, it has language definitions. Normally on > > each page load I have to include that file. > > > > So I want to put that array into Memcached and access from each different > > SESSIONID, I believe this will reduce memory usage and gives performance > > boost. > > > > I found (and use) SESSION examples for Memcached usage. Does anyone has > > any other examples for memcached usage. > > > > Regards. > > > > Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php