Jason, I do see how switching to client vars stored in the database would allow for my users to switch servers seamlessly. We are persisting quite a number of components in session and it's not an option at this point to begin marshaling the entire shopping cart and user information into a string and then unmarshalling it back out for the next request. (Even though I know it's possible) Perhaps we will look to that in the future, but in the mean time I think my solution needs to be getting my load balancer to recognize my sticky sessions.
~Brad -------- Original Message -------- Subject: Re: Client IP changes on SSL- tricks load balancer From: Jason Fisher <ja...@wanax.com> Date: Wed, February 25, 2009 2:09 pm To: cf-talk <cf-talk@houseoffusion.com> In a hardware load-balanced environment, I have always used Client vars rather than Session. (Just make sure you store them in the DB, not in the Registry.) Basically, the Client vars are a contract between the browser and the application, whereas Session vars are a contract between the browser and the server. Since the application verifies a user's Client session by reading back to the shared database, it doesn't matter if the user shifts back and forth across servers in the cluster, whether going from www.example.com to example.com or from http: to https:, since the application always retrieves the 'correct' session. Now, I know that there is a big push in CF8 to stop using Client vars, but I will tell you that it does work quite well in the situation you describe. We ran apps, including many ecommerce apps, in a cluster of 4-5 hardware-balanced servers for years without having "dropped session" issues using Client vars. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319827 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4