As I'm sure you're probably discovering, server targeting is normally the job
of the load balancer as opposed to the application. Though ClusterCats is not
an option for you, is it possible to configure your current balancing solution
to use session-based balancing rather than request-based? This would leave the
session on whichever server the balancer selects at the beginning of the
session. It's not as efficient as request-based balancing, and you'll have to
be very wary of session timeouts, but if that's what you need...
- Jeff
On 19 Feb 2001, at 15:50, Riccomi, Laura wrote:
> I've noticed high brain-power activity on this list, so I'm trying this
> question on you guys:
>
> I'm writing a set of scripts that will need to ensure that the user remains
> on the same physical server throughout a process. To do this I would like to
> find the IP of the server that the user is currently on. Is there an
> environment variable or similar that will tell me this? I already tried
> SERVER_ADDR, but our servers don't support this.
>
> Load balancing was set up in our environment over a year ago, so installing
> ClusterCats is not an option. I need some way to do this in the code.
>
> Thanks,
> Laura Riccomi
==============================================================
| Jeffrey S. Peters | "Specialization is for insects." |
| [EMAIL PROTECTED] | - Lazarus Long |
| PGP key for Jeffrey S. Peters at ldap://keyserver.pgp.com |
==============================================================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists