> ColdFusion stores the session variables in the web server local RAM, however
> when using ColdFusion with distributed configuration you should store the
> sessions in the database because you don't know which machine will serve the
> next page causing inconsistent sessions.

I suspect that the original poster is referring to CF's distributed
mode, where you have CF and the web server on separate machines. In
this case, variables are not stored in the web server's memory, but in
the CF server's memory. Also, distributed mode doesn't mean that you'd
have multiple CF instances, although you could. If you did have
multiple CF instances within a load-balanced configuration - with or
without distributed mode - you'd have to either enable session
replication between instances, use the "sticky session" option of your
load balancer to ensure that a user only visited a single instance, or
abandon session variables in favor of client variables stored in a
database accessible by both instances.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333614
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to