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:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 11:14 AM
> To: [EMAIL PROTECTED]
> 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.
> 


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to