You can use cffile to store the error files to disk.

I have a system that stores a small mountain of diagnostic info via
dumping all existing scopes, but that has security implications.  So
instead I store the file to disk (as either a .cfm or a .html) where
it can be viewed securely.  For example store the files in a folder
that is only accessible after you enter a password.  Then, optionally,
I email myself a simple "uh oh" email that says nothing but tells me
I'd better check the error log.  You can use a variety of logic to
determine what that threshold can be.

Next, use the server scope to log the date/time of the last error
report.  If it was within the last X minutes then don't send an email.
 If the interval you set has expired then it can send another.  This
will keep the info flowing without burying your mail server and
causing an additional problem.

Some details -- like how to dump all the scopes, save the files etc. is here:

http://mysecretbase.com/Building_A_ColdFusion_Error_Handler.cfm

There's also a tutorial on how to make a mail trickler but I don't
think its applicable to your situation.

HtH,

-- 
[EMAIL PROTECTED]
Janitor, MSB Web Systems
mysecretbase.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246838
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to