> I'd suggest the following
> 
> <frameset>
>   <visible frame> This displays "Your report is being
> generated". It contains javascript that reloads itself
> every 15 seconds and checks to see whether a variable
> session.reportDone EQ TRUE. If yes, it returns the
> contents of session.reportResults
>   <hidden frame> this calls your report.cfm page.
> report.cfm starts by setting session.reportDone=FALSE.
> When it finishes, it writes its output into a variable
> session.reportResults and sets session.reportDone=TRUE
> (Make sure you write to reportResults before you write
> to reportDone)
> </frameset>

I've tried several variations on the frames theme

 - visible frame loads "your report is being created" page
 - invisible frame triggers the report generation page
This works, but to remove the frames, there's a link in the display page
with TARGET="_top". However, when you click that link, it takes *forever* to
go to the next page.

 - visible frame redirects with JavaScript to the "your report is being
created" page
 - invisible frame triggers the report generation page
This works, but takes an age to do the JS redirect.

My next thought was to try using CFX_HTTP with VERB="head" instead of CFHTTP
on the trigger template. Presumably that will start the process without
having to wait for the body to be returned.

And until I can get a copy of CFX_HTTP, I'll give Alistair's suggestion a
go.


-- 
Aidan Whitehall <[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental +44 (0)1695 51775


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to