>- see footer for list info -<
Jason, that's a good idea. Then I'd join the thread after the parent cfm
script waits for it to complete? I've not used threads before but I will try
it out.

Simon, I've not tried storing cfcs in memory, I went through of stage of
spelling out every argument with cfinvoke because it's much easier to
understand the args when you revisit the code a few months later or pass it
on to other devs. I hope your Christmas shopping went well? Must have been
packed - yet you still manage to respond to emails! :-)
Thanks,
Gary.


On Tue, Dec 22, 2009 at 6:04 PM, Jason Haritou <[email protected]
> wrote:

> >- see footer for list info -<
> Have you thought about running the cfc as a thread?
>
> On Dec 22, 2009 12:51 PM, "Simon Baynes" <[email protected]> wrote:
>
> >- see footer for list info -<
>
> Gary,
> In my experience cfsetting with requesttimeout in the calling cfm page does
> definitely allow cfc methods to run longer than the default timeout. The
> only thing you might be doing differently from me is using cfinvoke which I
> can't remember the last time I used. I usually initialise my cfcs as
> persistent objects in memory. I would fire up my PC and check for you but I
> am on Bond Street Xmas shopping (soul destroying). I suggest trying a few
> more permutation around that and see if it helps!
>
>
> Simon Baynes
> www.simonbaynes.com
> Free online storage you can access anywhere:-
> http://www.simonbaynes.com/getsugarsync
> LinkedIn profile:- http://www.linkedin.com/in/simonbaynes
>
> -----Original Message-----
> From: Gary <[email protected]>
> Date: Tue, 22 Dec 2009 01:30:43
> To: Coldfusion Development<[email protected]>
> Subject: [CF-Dev] How to increase timeout for a CFC?
>
> >- see footer for list info -<
>  Hi. I've got a question about invoking a CFC that takes longer to process
> than the CF Admin default timeout. How can I make an exception for this
> specific CFC and increase the timeout value please?
>
> Adding a timeout="90" attribute to the cfinvoke tag casues an error because
> it's only meant for CFCs running as a web service. Adding <cfsetting
> requesttimeout="90"> to the CFC doesn't work either and adding that to the
> parent cfm file makes no difference to the CFC as it doesn't inherit the
> timeout setting.
>
> Thanks for any ideas in advance. Merry Christmas!
>
> Gary.
>
> P.S. If you're wondering why a CFC needs to take so long to run, well, it's
> generating a very, very long PDF to present to the user. I can't chop it
> into several PDFs for various usability reasons.
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> >- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> >- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> >- Lists hosted by www.Gradwell.com <http://www.gradwell.com/> -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to