Re: Persistent PHP web application?

From: Date: Thu, 06 Jan 2005 23:03:52 +0000
Subject: Re: Persistent PHP web application?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-205786@lists.php.net to get a copy of this message
>> >>>From my PHP library I use shm_put_var() and shm_get_var(). If >> serialization is done this way then it is implicit... right? > > Yes, these functions serialize/unserialize behing the scenes. > > -Rasmus Hi, has anyone got an example on howto use the shared memory functions ? I currently serializeobjects of classes so they are cache and dont have to be included upon each request, i store thesein a session , its in a function called import heheh , so import('Package_Class'); , will get a class ina directory Package/Class.php with the class name Package_Class , and store that in a session. would it be a quicker solution when unserializing to use the shared memory functions instead ? Let me know

« previous php.general (#205786) next »