The load balancer has to specifically support sticky sessions. I think it does this via some sort of cookie, but I'm not entirely sure.
If you have clustering in coldfusion with session replication enabled, then you can also set the load balancing algorithm to either enable sticky session in JRUn proxy (which handles the connection from IIS or apache), or not enable them. If you do enable them, it used the JSESSIONID (which must be enabled for this to work) to send the request to the proper server. If you don't have sticky sessions enabled, it won't necessarily go to the same server, but it won't matter since sessions are replicated (session CFC's are currently not replicated, but I believe all other variables are). Now, session replication in CF is enterprise only, but I've been able to get it to work with CF7 Standard. This is not documented or supported by Macromedia AFAIK, but I don't think it's against the EULA. I am planning to write an article on it sometime soon. Look for it in the next few issues of Fusion Authority. Russ > -----Original Message----- > From: Tony Hicks [mailto:[EMAIL PROTECTED] > Sent: Friday, February 03, 2006 11:35 AM > To: CF-Talk > Subject: Re: Load Balancing issues > > Russ, > > Where can I find information on either of these? I'm using a hardware load > balancer and we've been fiddling with the Affinity settings but nothings > working better than 70% of the time (while both servers are up). > > I'm supposing these are Enterprise-only features? > > >Also you can set up the loadbalancer to do sticky sessions (You can do > this > >in coldfusion as well). This won't prevent people from losing their > session > >if one of the servers fails, but it will send them to the same server as > >long as both servers are up. > > > >Russ > > > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231264 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

