Hi all,

I'm currently writing an Apache module (Apache 1.3.27) for virtual
masshosting based on a SQL backend (currently MySQL later on
PostgreSQL).  Therefore I'm searching for information about the
differences between requests (request_rec) and servers (server_rec).

Can anybody tell me the lifetime of a request or a server record?
As far as I understand the used terminology, a request record handles
all requests made by a user when navigating to a specific URL.

If that's right it would mean that all calls made to my translate-
handler for such a session access the same pool inside the request
record but if I navigate to another domain on the same server it would
be a different request with its own new pool, wouldn't it?

I need this information for implementing some kind of caching. I really
don't want to query my database for each "stupid" file or image the user
requests.

It would be very nice if you could explain me the difference or if
someone could give me a link to a more detailed documentation.

Thanks in advance,
best regards

sebastian

Reply via email to