On Friday, September 6, 2002, at 04:39 , Jon Gorrono wrote: > When invoking cfc's via flash remoting, > 1) there is no assumption of the existence of a web browser at all > (could be a stand-alone app)
Correct. CFCs can (should) be environment-neutral. > 2) even though the flash movie 'establishes' a connection to the > (flash web) service (aka cfc), each call to any method of the cfc, > causes the constructor code for the cfc to run...ie, each call to the > cfc instantiates the cfc object anew. Correct. Web Services cause a new instance to be created for each invocation. > 3) you can't access client, request, application, or sessions > scopes, even though the page that contains the flash movie might be > generated by a cfm page that has access to (ie, sets) properties of > these scopes. <cfapplciation tags that attempt to initiate any such > scopes from within the cfc, fail (sorta cryptically). Hmm, not sure about this since we use session scope with Flash movies invoking CFCs. We have facade CFCs that manage all the persistent scope storage of other CFC instances and session is definitely maintained (when then Flash movie runs in a browser). You can setCredentials() inside a Flash movie and interact with cflogin and all the other authentication machinery... > 4) you CAN pass stuff back n forth using cookies *if* the cookie > gets written to disk (not a 'memory-resident' cookie) ... but, o'course > now the security problems compound.... Flash supports both URL tokens and cookies - at least, that's my understanding... Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

