Page 1 of 1

Load Balance by alternating links?

Posted: Fri Oct 18, 2002 10:19 am
by mccommunity
I would like to rotate through links 1-4 when someone hits the page to load balance. For example the first person to hit the page would go to link1 the second person would have link2 showing and could click it to go to link2 the third person would have link3 showing and would click it to enter link 3 and so on. Any ideas? Thanks a lot of any input.



PHP Newby :roll:

Posted: Fri Oct 18, 2002 10:56 am
by mr_griff
If you code makes use of sessions, you will have to have a central place to store the session data or sessions will be lost at the user travels from one server to the next. However if you still want to setup something like that, look into round-robin DNS. That way you don't need to handle the load balancing in your code.