Copy link to clipboard
Copied
How to run a CFM program without openning a new window ?
Today , if I want to run a CFM program which have no display for the user,
I must open a new window to run the CFM program inside et close it at end.
Since last version of IE and other navigators, this window cannot be outside the screen completly,
then the user see a blank window which appear and desappear rapidly.
This is not nice.
Is there a way to run a CFM program without openning a new window ?
Thans for answers.
Pierre.
Copy link to clipboard
Copied
You can schedule it using the admin page.
Copy link to clipboard
Copied
No, I can't,
this a program which is launched on the fly,
depending on what happenned in the application process.
Thanks for any suggestion.
Pierre.
Copy link to clipboard
Copied
have a look at cfthread or CFML gateway.
Copy link to clipboard
Copied
run it inside a very small iframe.
Copy link to clipboard
Copied
It seems that CFTHREAD can be a solution,
but my client is not in version 8.
And I am looking for the V8 documentation. (where to find it)
Then I will wait for using it.
Using an Iframe should be a good solution.
Thanks, Pierre.
Copy link to clipboard
Copied
At the links I provided before:
ColdFusion 8: http://livedocs.adobe.com/coldfusion/8/
ColdFusion 7: http://livedocs.adobe.com/coldfusion/7/
ColdFusion 6: http://livedocs.adobe.com/coldfusion/6.1/
ColdFusion 5: http://www.adobe.com/support/documentation/en/coldfusion/documentation50.html
ColdFusion 4: http://www.adobe.com/support/documentation/en/coldfusion/documentation452.html
That's all I have ever looked up.
Copy link to clipboard
Copied
Before <cfthread...> in ColdFusion 8, the <cfhttp....> tag could be used. It doesn't have the ability to share variables but it can be used to fire off a page for asynchronous prosssing, if you set the timeout value to 0 the parent page does not wait for anything.
Copy link to clipboard
Copied
It seems that CFTHREAD can be a solution,
but my client is not in version 8.
CFMX7 has the async gateway which will do what you want. However Ian's suggestion of using <cfhttp> is probably the way I'd go with this.
--
Adam
Copy link to clipboard
Copied
<cfhttp....> for all versions of ColdFusion http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_g-h_09.html.
<cfthread...> for the latest versions of ColdFusion http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_t_04.html.
One and|or the other of these shoudl work.
Copy link to clipboard
Copied
How about running with ajax in embeded area? It's just hidden and no need to display.
Copy link to clipboard
Copied
My response is late,
but, since I used either an Ajax area, or a 1pixel Iframe hidden.
And does work well.