From: "Ken Burcham" <[EMAIL PROTECTED]>
can I do that lookup just once
and stuff it somewhere like an application server variable?

I use Apache::AxKit::Plugin::Session, there is a 'Global' taglib that let's you share data between all instances of apache. It's a bit involved though, if you're not doing access and authentication it might be easier to directly use Apache::Session, there is a shared memory module which would do the job. Maybe others have recomendations on the best way to access shared memory for mod_perl.

> where does this cache
live? Or does it?

My understanding is that it is stored in the memory of the perl instance that is running. I also understand that there is a perl instance for each apache server instance running - so things can get out of sync if your browser comes in on a different server - hence the need for a shared memory storage.

matt





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to