[mod_python] Sessions in a load balanced arena

Peter Sanchez pjs at packet-addiction.org
Tue Feb 14 15:07:19 EST 2006

Hey all.. Quick question:

How can sessions be managed in a load balanced scenario. Say, between  
3 hosts all having traffic directed to it. From what I understand,  
the session data is stored locally on each host. When a new visitor  
reaches hostA and gets a session, hostB won't know about it.

Sounds like Cookies are the way to go for a load balanced solution.  
Using the cookie to save an identifier and keeping track in a  
database of some sort. Is my thinking wrong?



More information about the Mod_python mailing list