Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

htc and coldfusion 1

Status
Not open for further replies.

brianpercival

Programmer
Jun 13, 2005
63
US
I have a q.. How does microsoft htc fit into coldfusion ?

say I have a htc component that I am using in a coldfusion page, is there a way I can embed coldfusion tags in a htc file? say I want to populate the component with values from the database or something like that. any pointers on how to do that?

regards,
Brian
 
Hi

From what I know of Htc (and correct me if I am wrong) it is a client side Microsoft technology - because it is client side you will need to populate data from coldfusion in a similar way to the way you would if you wanted to pass values to javaScript
 
microsoft said:
Saved with an .htc extension, an HTC is an HTML file that contains script and a set of HTC-specific elements that define the component.

If you want to run CF in a page with a .htc extension you'll have to tell CF administrator to process .htc pages.

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Truthshire,

I fished around in the cf admin (cfmx) but didn't find a place where I can mention htc. Where do I have to do that?

regards,
Brian
 
thenetproffits said:
CF runs as a separate service, but it also integrates with IIS using an ISAPI extension. The ISAPI extension runs in-process with IIS, just like the ASP engine, and when a request is received that is mapped to the file extension associated with the ISAPI extension (typically .cfm and .dbm, although those can be changed in the IIS management console), the request is forwarded to the CF service for processing.

We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top