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:319818
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to