I would put the request timeout only in modules (cfc's init()) where you expect this to happen. If you put it in the application.cfm, that is site wide and you get into problems with monitoring problematic code.
Joe Eugene >-----Original Message----- >From: Ron Gowen [mailto:[EMAIL PROTECTED] >Sent: Friday, December 10, 2004 6:43 PM >To: CF-Talk >Subject: Re: Catch CFMX Request Timeout ? > > >I am experimenting with putting the before mentioned code in the top >level application.cfm, and including that appliaction.cfm in others >nested below in the directory..still in testing, but it is going well >so far....fingers crossed :) > > >On Fri, 10 Dec 2004 15:51:31 -0500, Douglas Knudsen ><[EMAIL PROTECTED]> wrote: >> I'll be damned! I never thought of going that route, shite. Ok, so >> now, how to do this on a server wide level? >> >> DK >> >> >> >> >> On Fri, 10 Dec 2004 14:09:23 -0400, Ron G <[EMAIL PROTECTED]> wrote: >> > <cferror type="exception" >exception="coldfusion.runtime.RequestTimedOutException" >mailto="[EMAIL PROTECTED]" template="timeoutErr.cfm"> >> > >> > in the application.cfm file I think works >> > >> > >><cfsetting enablecfoutputonly="no" requesttimeout="600"> >> > >Cant do that, i need to check if its taking more time than CFMX Server >> > >setting, >> > >if so execute some other logic to handle the situation correctly. >> > > >> > >Joe Eugene >> > > -----Original Message----- >> > > From: John Uebel [mailto:[EMAIL PROTECTED] >> > > Sent: Wednesday, March 10, 2004 11:43 PM >> > > To: CF-Talk >> > > Subject: Re: Catch CFMX Request Timeout ? >> > > >> > > >> > > Simply place the following at the top of your file: >> > > >> > > <cfsetting enablecfoutputonly="no" requesttimeout="600"> >> > > >> > > The above will override the default timeout in the CF >Administrator and >> > >allow a timeout of 10 minutes. >> > > >> > > Is there a way to catch a CFMX Request Timeout..... If the >server takes >> > >more >> > > time than the CF Admin setting.. is there a way to catch it? >> > > >> > > I have tried to use the below but they dont work. >> > > >> > > <cfcatch type="Tried the below 2, it doesnt work"> >> > > >> > > COM.Allaire.ColdFusion.Request.Timeout >> > > And >> > > coldfusion.runtime.RequestTimedOutException >> > > >> > > Any Ideas? >> > > >> > > Thanks, >> > > Joe Eugene >> > >> > >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - New Atlanta http://www.newatlanta.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187145 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

