ketankshah
IS-IT--Management
I am using FuseBox 3.0 and facing a problem while using CFHTTP tag.
The purpose of this code is to call a file in a separate thread so that the control is returned back immediately to the calling page without waiting for a long processing. Through this page I am sending emails to a huge list of subscriber and while the request is in process I want to show a "Please wait" message along with counter showing % of task finished. But when I call this code, it does not take fuseaction as the url parameter and always run my home page with default fuseaction (i.e. index.cfm without any fuseaction). How can I sort out this problem? Please help.
Ketan
The code is as below:
<cfhttp url=" method="POST" resolveurl="true" timeout="1">
<cfhttpparam type="URL" name="fuseaction" value="#xfa.runpublish#">
<cfhttpparam type="URL" name="title" value="#attributes.title#">
<cfhttpparam type="URL" name="subject" value="#attributes.subject#">
<cfhttpparam type="URL" name="content" value="#attributes.content#">
<cfhttpparam type="URL" name="newsletters" value="#attributes.newsletters#">
</cfhttp>
The purpose of this code is to call a file in a separate thread so that the control is returned back immediately to the calling page without waiting for a long processing. Through this page I am sending emails to a huge list of subscriber and while the request is in process I want to show a "Please wait" message along with counter showing % of task finished. But when I call this code, it does not take fuseaction as the url parameter and always run my home page with default fuseaction (i.e. index.cfm without any fuseaction). How can I sort out this problem? Please help.
Ketan
The code is as below:
<cfhttp url=" method="POST" resolveurl="true" timeout="1">
<cfhttpparam type="URL" name="fuseaction" value="#xfa.runpublish#">
<cfhttpparam type="URL" name="title" value="#attributes.title#">
<cfhttpparam type="URL" name="subject" value="#attributes.subject#">
<cfhttpparam type="URL" name="content" value="#attributes.content#">
<cfhttpparam type="URL" name="newsletters" value="#attributes.newsletters#">
</cfhttp>