Rick, You cannot "include" (cfinclude) a file from a different server unless yo u use a UNC or a CF mapping - even then the file will NOT be executing on t he remote server - it would execute inside the scope created on a server tha t called for it. If you are wanting your banner code to run on the remote server and just handle the result (banner html code presumably), then you have 2 common options (and a bunch of weird ones I suppose). You can eith er use CFHTTP to "get" the code and dump it to the page - in which case it executes on the remote server and delivers the result to your CFHTTP request, or you can create a JavaScript output with a CFM extension and include it using the <script> tag with the src attribute - in this case t he CFM page is restricted to delivering ONLY valid java script, so stick to "document.write( )" type commands on the output. There's probably some other ideas out there - but you have to keep in mind where the code is actually executing - remotely or locally.
Mark -----Original Message----- From: Rick Weiss [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 06, 2002 3:28 PM To: CF-Talk Subject: SSI command to another server I am a CF newbie and I am trying to place a command on a .cfm page that w ill include ads from a banner rotation manager that I have on another server in a cgi-bin. The normal SSI instruction doesn't work, since it is an entirely differen t server (I assume), but I don't know what the CF commands are to reference this cgi script. I'm not even sure if I am asking this question correctly. Rick ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists