[ROOT] [Carrot] Persistant Object in Apache

From: Ashley Cambrell (ash@freaky-namuh.com)
Date: Wed Apr 03 2002 - 11:11:12 MEST


Hi Valeriy,

Is there any mechanism that's already part of Carrot to cache TObjects 
across all Apache instances?  For things like persistant (pooled) 
database connections and the like. (sessions?).

I have gone through the source and I can't seemed to find anything that 
looks like it.  The only thing that look like it could be the same 
object across all backend is the global gApacheBrowser.  (Is 
gApacheBrowser the same object under all backends?)

If there isn't already a mechanism in place, [is it possible and] would 
there be any argument against adding a TMap like caching object that 
scripts could store TObjects in? (key being perhaps "sessionid" like 
PHP, and the value being another TMap like object to store client 
specific session data)

Ashley Cambrell



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET