• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Can I include .cfm file from another server on a different server?

Participant ,
Dec 01, 2006 Dec 01, 2006

Copy link to clipboard

Copied

Can I include a .cfm file within a document when the .cfm file (and datasource that drives the output) resides on another server? Both .cfm pages would be on separate servers and are both database driven with different DSNs on different servers. Does anyone know how to do this or if it can be done?
TOPICS
Advanced techniques

Views

573

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Dec 01, 2006 Dec 01, 2006
The first thing I would try is cfhttp.

Votes

Translate

Translate
LEGEND ,
Dec 01, 2006 Dec 01, 2006

Copy link to clipboard

Copied

The first thing I would try is cfhttp.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 02, 2006 Dec 02, 2006

Copy link to clipboard

Copied

Can I include a .cfm file...
No, not in the sense of <cfinclude>. It is of course possible to include the processed result, usually HTML, of a cfm running on a second server, as Dan says.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 02, 2006 Dec 02, 2006

Copy link to clipboard

Copied

LATEST
Dan, I used CFHTTP and it worked great. Thanks for your quick help!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation