sticky sessions :: Load Balancing :: RE: session tracking across a server farm
| From: | Dickerson, Monty | Date: | Mon, 30 Apr 2001 16:25:47 +0000 |
| Subject: | sticky sessions :: Load Balancing :: RE: session tracking across a server farm | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7161@lists.php.net to get a copy of this message | ||
Kelvin,
The trick you need is called 'sticky sessions'.
Which are you using to balance the load on your server farm?
. Cisco LocalDirector
. Dell BigIP
. An RFC2391-complaint LSNAT router
. Linux 2.4 iptables
. Redundant DNS entries (not effective)
. Microsoft Windows 2000 Advanced Server's LB NAT util
The Cisco LocalDirector ($$$) can do sticky sessions, i.e. keep a session
going to one box behind it, by matching a cookie or a substring on the URL.
Hey, HONK if anyone is doing sticky sessions with php4... pls!
:)
montyd
> -----Original Message-----
> From: Kelvin Luck [mailto:kelvin@sasdesign.co.uk]
> Sent: Monday, April 30, 2001 11:14 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] session tracking across a server farm
>
>
> Hi,
> I am just writing a user authentication system in php. I was
> planning to use
> session variables to track logged in users as they navigate
> the site...
> However, when the site is deployed it will be run on a server
> farm. Does
> this break session variables in php?
> If so does anyone know a way I can authenticate users that
> will work on a
> server farm and will allow me to use a html form to get users
> to log in (I
> know I could do it with $PHP_AUTH_USER but I believe this
> means that you
> have to allow the browser to pop up a default log in dialog?).
> thanks in advance for any help,
> Kelvin.
>