I'm sorry, I was more referring to how you would call it in Actionscript.

So typically, you'd call a CFC method like so:


NetServices.setDefaultGatewayUrl("http://www.mysite:8500/flashservices/gatew
ay");


var gw = NetServices.createGatewayConnection();


var server = gw.getService("com.MyDataAccessComponent", this);


server.myQueryMethod(); 



but say this component was persisting in the session scope such that you
were calling it in CFM pages with
#session.MyDataAccessComponent.myQueryMethod()#


Is there a way you could call that persistent session scope CFC with Flash
Remoting?
 

-----Original Message-----
From: Todd
To: [EMAIL PROTECTED]
Sent: 7/29/2003 2:19 PM
Subject: Re: [CFCDev] Stateful CFC's with Flash Remoting?


As long as their was an Application.cfm w/ <cfapplication> tag was 
somewhere relative to the CFC's to access/use that session scope, yes.

At 02:16 PM 7/29/2003, you wrote:
>Say you've got a CFC that performs database operations, and you store
an
>instance of that in the session scope. Would you be able to access it
>through Flash Remoting?

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to