How about avoiding CFHTTP requests to your own box? Check out the cf_exec
tag, which executes code and places the output in a variable (i.e
ThisTag.GeneratedContent = Caller.Output), then write that to a file.
There's nothing worse than a ColdFusion script that multiplies it's load on
the server!

-----Original Message-----
From: Pete Freitag [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 03, 2000 12:44 PM
To: [EMAIL PROTECTED]
Subject: RE: View->Source in IE


Sure, Using CFHTTP

<cfset fileIwant = "http://me.com/hello.cfm">
<cfhttp url="#fileIwant#" method="get"></cfhttp>
<cffile action="WRITE" file="myfile.htm" output="#CFHTTP.FileContent"
addnewline="Yes">

_______________________________________________
Pete Freitag
CFDEV.COM
Cold Fusion Developer Resources
http://www.cfdev.com/



-----Original Message-----
From: aslam bajaria [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 03, 2000 11:41 AM
To: [EMAIL PROTECTED]
Subject: View->Source in IE


The coldfusion server, after executing a request/file
, sends only pure html to the browser. Is there a way
to catch this pure html code and save it as a file?

Thanks>
Aslam

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to