Re-instantiating an object, on each request, can be processor-intensive.

I have used session-based CFCs for a couple of years and have had no
problems.  I have the data and the methods all in a nice, neat package.

M!ke 

-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Friday, April 06, 2007 2:15 PM
To: CF-Talk
Subject: Re: Using CFCs in session scope - need cflock help

Well, it's doesn't make any programmatic sense for a start.  They are
static providing a common layer of functionality, to put them into a
scope other than application or server (to a degree) just doesn't make
any sense. 

They can be very memory intensive so giving each "user" their own
session CFC which is identical to ever other users doesn't make any
sense as it would be needless consumption of memory space.

You also cannot use replication with them in session scope (this may
have been fixed in CF7/JRun updater, I know it was true before)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274733
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to