Thanks Mark - that's a really neat idea.
However, it sounds like too much work for me. What I have done
since posting is create a Virtual Directory in IIS6, point it at the custom
tag directory, and use dot notation to call the cfc, and it appears to be
working so far. (I have turned off directory listing and read rights to
that folder, so they are just about invisible if you don't know they are
there, which was my intention.)
I can live with my workaround at the moment, but if it fails I'll give
your idea a shot.
t 9288 0662
f 9288 0666
m 0414 840 820
e
[EMAIL PROTECTED]---------------------------------------------------------------------
>>>
[EMAIL PROTECTED] 30/01/2004 2:45:11 pm >>>
Antony -
You would probably need to double check this - but I'm (kinda?)
certain that you can't access
components that are stored off the web
root.
That being said - it's fairly common practice to have a CFC that
handles all your Flash Remoting
calls, for greater seperation between
layers.
This CFC will grab the relevent data from the CFCs that is
required and pass it off to the
Remoting request.
On a total theory
bent (ya would have to test this out) have a RemotingCFCManager.cfc that's
sole job is to return back instances of CFCs that are stored off the web
root to the remoting
request.
Not sure how that would turn out tho.
Been a bit since i've played with
remoting.
HTH
Mark
------------------------------------------------------------------
[EMAIL PROTECTED]
ICQ:
3094740
Safe From Bees
[ www.safefrombees.com ]
Quoting
Antony Sideropoulos <[EMAIL PROTECTED]>:
>
Hello
>
> <preamble>
>
> I have developed a
CFC that I am storing outside the webroot:
>
> d:\website\webroot
> d:\website\customtags <-- CFCs live here
>
> In CFMX
Administrator I have set up a custom tag path pointing to this
>
directory and using CFM templates I can successfully call functions
>
within CFCs that are stored in this directory.
>
>
</preamble>
>
> <question>
>
> When I
try to call the same functions in the same CFCs via Flash
> Remoting, I
get the following error:
> No service named flaggedfiles is known to
Flash Remoting MX.
>
> Can Flash Remoting see/use CFCs outside
the webroot in the same manner
> as CFM templates can? If not, does
anyone have any bright ideas for me?
> (I am using CFMX6.1, Flash
Remoting MX and IIS6)
>
> </question>
>
> Many
thanks
>
> Antony
>
>
---------------------------------------------------------------------
>
Antony Sideropoulos
> IT Solutions Developer
> Maddocks
>
> t 9288 0662
> f 9288 0666
> m 0414 840 820
> e
[EMAIL PROTECTED]
>
---------------------------------------------------------------------
>
>
>
----------------------------------------------------------------------
>
Maddocks
> Melbourne - Tel: (61 3) 9288 0555 Fax: (61 3) 9288 0666
> Sydney - Tel: (61 2) 8223 4100 Fax: (61 2) 9221 0872
> Web:
http://www.maddocks.com.au
>
----------------------------------------------------------------------
>
The information in this electronic mail is privileged
> and
confidential, intended only for use of the individual
> or entity named.
If you are not the intended recipient,
> any dissemination, copying or
use of the information is
> strictly prohibited. If you have received
this transmission
> in error please delete it immediately from your
system
> and inform us by email on
[EMAIL PROTECTED] .
>
----------------------------------------------------------------------
>
>
> ---
> You are currently subscribed to cfaussie as:
[EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
>
>
>
> MXDU2004 + Macromedia DevCon AsiaPac +
Sydney, Australia
>
http://www.mxdu.com/ + 24-25 February,
2004
>
---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February,
2004
---