On 8/20/05, Bawt T. Eggdrop <[EMAIL PROTECTED]> 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
assume.)

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.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to