At least a couple of options:

1. Have the asp page redirect to the cfm page 
<% response.redirect "mydbprocessor.cfm" %>

2. Use an external javascript include method to call the cfm page - you can 
call any type of file using this method, and it doesn't have to return any 
javascript to call it :)
<script language="javascript" src="mydbprocessor.cfm" ></script>

Either one of these pieces of code would be simply be added to your asp page.  
Note that you could add url parameters to the mydbprocessor.cfm page to tell 
the cfm page additional information:

eg: mydbprocessor.cfm?a=1&b=2

Cheers,
M

  ----- Original Message ----- 
  From: Michael Dinowitz 
  To: CF-Talk 
  Sent: Thursday, April 06, 2006 10:14 AM
  Subject: OT: Asp calling ColdFusion


  Is there any simple way to make Asp (not .net) call a CF page for processing? 
CF can use the getPageContext.include() to cause an asp page to be processed 
inside the CF context. Is there something on the Asp side that allows a CF page 
to be processed inside the Asp context?

  I want to have Asp call a CF page to do a monthly DB cleanup and I can't move 
from Asp to CF for this (yet. its for a client)

  Thanks

  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237066
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to