On Jun 4, 2007, at 3:13 PM, Dumindu Pallewela wrote:

In a module that I am writing, I need to share an object between
successive requests. My first go at it was to have a reference to this
object in the server configuration. But only after trying it out I found that the server configuration is not shared between the child processes,
rather each process has it's own server configuration. (I want the
module to work despite the MPM used.)

So my question is how can I share an object between successive requests?

Well, that is persistent storage. Common tools for this include the filesystem, mmap'ed storage, and databases. Remember that apache could suddenly go away between any two requests. -Tim


Reply via email to