The machine I'm using now has 256 Megs of RAM and it's a dual 500Mhz machine. I'm stuck using this box right now so I'm afraid if I start using session variables the memory will get eaten up and I'll lose significant performance.
On another note, I just hunted down an article that you helped edit I guess that explains the CFC state/initialize situation I was inquiring about pretty well. http://www.builderau.com.au/architect/webservices/0,39024590,39175723-2,00.htm It's a great help to anyone starting out with CFC's. Also, I was thinking about attending CFUNITED in the DC area this summer (in which case I'll buy you guys a beer or five!) but was hesitant to because of what seems to be a lack of CFC sessions in the topics area. I was delighted to see numerous topics on Fusebox, FLIP and design patterns in general though. Your thoughts? Should I wait until the "official" CF conference by Macromedia? Thanks to Jason Cronk and Sean Corfield for the help! Mark Kecko Technology Director MediaPost Communications [EMAIL PROTECTED] 212-204-2002 Sean Corfield wrote: > On 4/13/05, Mark Kecko <[EMAIL PROTECTED]> wrote: > >>confused about is if I have to initialize the CFC for each user or only >>once for the 50 concurrent members I may have on my site at one time. > > > Well, it depends what your CFC does. If it is stateless (has no > instance data in 'variables' scope) then you can instantiate it once, > put it in 'application' scope and then just <invoke> it from there. > > If it has data relevant to a particular user, you could put it in > 'session' scope. > > Otherwise you'd need to instantiate it for each request (of course you > could put it in 'request' scope so you can access it across multiple > files in a single request). > > So it's exactly the same as using any other shared scope variable. > > >>I'm trying to avoid using the session scope. > > > Why? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6730 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
