Any other possible ways to do this? I just need to grab the $#@%! query
string when a template times out.

Sigh...

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 12:37 PM
To: CF-Talk
Subject: RE: Logging warnings...


> Can I use CFTRY to send me a message when there's a warning,
> as opposed to an error? I want to grab the URL string every
> time a template runs longer than 20 seconds...

To the best of my knowledge, no. You can only catch runtime exceptions with
CFTRY. You could conceivably use some combination of GetTickCount with
Application.cfm and OnRequestEnd.cfm to do this, or you could just enable
the "Log slow pages" option; that may give you what you need.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
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