cfmx7 / oracle 10g / timeouts / interrupting cfquery?
Here's a problem I can use some advice on.
Our web app has some cfm templates (reports) with long-running cfquery operations, to Oracle.
When cfquery runs longer than the page timeout, what actually happens is this: cfmx7 waits for the Oracle query to finish, then blows up and returns a timeout message to the user. This is the worst of all possible worlds: We made the user wait for the whole nasty query to finish, we incurred the database workload, and then we discarded the results and didn't give them back to the user. We wasted the user's time and the database's time.
Is there a way to get cfmx7 to *interrupt* the query running on the oracle database when the cfm template times out, rather than just hang up waiting for it to complete?
(Of course I know I could lengthen the timeout for the report cfm, and I know all too well that the query needs to run more efficiently. But it would be handy to be able to interrupt the query if possible.)
Thanks!
CFMX7 on Linux behind Apache, Oracle 10.1 on Linux, built in CFMX7 Oracle drivers with Oracle 10.1 client code.