Re: application.cfc and session structure

2008-10-23 Thread Mike Chabot
If you are referring to something that will run in production as
opposed to some limited debugging in a development environment, then I
prefer dumping the error details to a database table or inside of an
email.

-Mike Chabot

On Thu, Oct 23, 2008 at 9:27 AM, Chad Gray <[EMAIL PROTECTED]> wrote:
> What is the safest way to dump the session variables in the onError function 
> of Application.cfc?
>
> Thanks
> Chad
>
>
>
>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314288
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc and session structure

2008-10-23 Thread Chad Gray
Right I want to email the session variables.  Should I do an inDefined first to 
see if they exists?  I don't want an error in my error function is what I am 
getting at.

Chad


> -Original Message-
> From: Mike Chabot [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 23, 2008 9:50 AM
> To: cf-talk
> Subject: Re: application.cfc and session structure
> 
> If you are referring to something that will run in production as
> opposed to some limited debugging in a development environment, then I
> prefer dumping the error details to a database table or inside of an
> email.
> 
> -Mike Chabot
> 
> On Thu, Oct 23, 2008 at 9:27 AM, Chad Gray <[EMAIL PROTECTED]> wrote:
> > What is the safest way to dump the session variables in the onError
> function of Application.cfc?
> >
> > Thanks
> > Chad
> >
> >
> >
> >
> >
> >
> 
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314297
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: application.cfc and session structure

2008-10-23 Thread Mike Chabot
Yes, you should use isdefined or try/catch to help prevent errors
inside of your error handler.

-Mike Chabot

On Thu, Oct 23, 2008 at 11:22 AM, Chad Gray <[EMAIL PROTECTED]> wrote:
> Right I want to email the session variables.  Should I do an inDefined first 
> to see if they exists?  I don't want an error in my error function is what I 
> am getting at.
>
> Chad
>
>
>> -Original Message-
>> From: Mike Chabot [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, October 23, 2008 9:50 AM
>> To: cf-talk
>> Subject: Re: application.cfc and session structure
>>
>> If you are referring to something that will run in production as
>> opposed to some limited debugging in a development environment, then I
>> prefer dumping the error details to a database table or inside of an
>> email.
>>
>> -Mike Chabot
>>
>> On Thu, Oct 23, 2008 at 9:27 AM, Chad Gray <[EMAIL PROTECTED]> wrote:
>> > What is the safest way to dump the session variables in the onError
>> function of Application.cfc?
>> >
>> > Thanks
>> > Chad
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>
> 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314298
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4