> It applears that CFHTTP is not retrieving javascript from a 
> page, i.e., code between the curly brackets {} is mysteriously 
> missing. The source with and without CFHTTP is shown below:
>  
> I am using CFHTTP (CF5) to grab a page but receive the 
> following script error:
>  
> ... 
>  
> I am able to retrieve the file fine in my browser. I then 
> viewed the source for both attempts and found that the CFHTTP 
> retrieved snippet looked like this...

My guess is that the page you're retrieving is being generated with a
server-side CGI program, which may be generating different output depending
on which browser is used to request the page. Are you setting the USERAGENT
property of your CFHTTP tag to match IE (which is my guess as to the browser
which would use the JavaScript in question)?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to