Adobe Dreamweaver Forums



Last 10 THreads :         FlashVars help (Last Post : Cgull - Replies : 3 - Views : 4 )           »          Cleaning up background images in version 3 (Last Post : DennisTheTrainer - Replies : 0 - Views : 1 )           »          simple way display image in panel bar (Last Post : ntsiii - Replies : 1 - Views : 7 )           »          Unable to show menu within panels (Last Post : ntsiii - Replies : 6 - Views : 7 )           »          Could not find the included template (Last Post : azuro28 - Replies : 0 - Views : 1 )           »          Handling RichText Area with Javascript (Last Post : SushiSnacks - Replies : 0 - Views : 1 )           »          ColdFusion = "old technology" (Last Post : getziggy - Replies : 4 - Views : 5 )           »          cfexecute and special characters (Last Post : -==cfSearching==- - Replies : 2 - Views : 3 )           »          CF8 Help in Dreamweaver CS3 (Last Post : danilocelic AdobeCommunityExpert - Replies : 1 - Views : 2 )           »          Can't upload selected pdf's to remote server (Last Post : DontTazeMeBro - Replies : 3 - Views : 4 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: , , , ,



Reply
  #1 (permalink)  
Old 08-26-2008, 10:20 AM
nikos101
 
Posts: n/a
Diggs:
Default Remote Object external server path

if I run a .swf on the server with a remote object source = "server_path.mycfc"

what would source be if I was connecting to an external server at say
www.mysite.com? Would it be

mysite.com.server_path.mycfc



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-27-2008, 08:25 AM
Ratsnackbar
 
Posts: n/a
Diggs:
Default Re: Remote Object external server path

It is going to be the path to the cfc starting at the root of the site to the
CFC unless there is a ColdFusion server mapping that overrides it. However I
have not tried this using mappings and I hear from others it does not work well.

So lets say you had a cfc that resided in this folder starting from the root
of your site

{siteRoot}/com/mydomain/cfcs/

The source would be com.mydomain.cfcs

And the destination would be ColdFusion (unless you had a need to configure a
different destination in the XML files on the server.)

So to answer your question more exactly a fully qualified domain name such as
www.mysite.com simply points to the root of your site. The Source then states
starting from the root where is the CFC I am wanting to talk to.

Where it gets confusing is the habit of CF developers to place all their cfc's
into folder paths using the Reverse domain name like the above
{siteRoot}/com/mydomain/cfcs/.

If you were to see this exact path in a server log however the way it might
look would be

http://www.mydomain.com/com/mydomain/cfcs/mycfc.cfc

Of course you will never see that in a log because of the nature of cfc's but
the point is to show how the path / source works.

Hope that helps

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 06:05 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk