|
Posted by daniel on 01/07/05 01:03
>>
>>>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
Navigation:
[Reply to this message]
|