httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] session files
Date Sat, 20 Aug 2005 18:05:06 GMT
On 8/20/05, Bawt T. Eggdrop <> wrote:
> I have two apache2 web servers behind a load balancer. What is the best
> way to share session files between these boxes? If I don't share them,
> my users get timed out of the web application too often. Thanks.

I believe that is way too broad of a question.  It would require a
book to answer in that general form.  For example, what is a "session
file" in your case?  How do you track sessions?  (Cookies, I'd

The easiest way to handle this is to have an intelligent load balancer
that knows enough to keep a session attached to one back-end server by
analyzing cookies, IP addresses, or whatever.  Other than that, you
need to share data between the back-end servers.  But how you do that
depends on your application.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message