----- Original Message -----
From: Troy Johnson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 27, 2000 11:58 AM
Subject: isDefined() on session/application variables
Does anybody have any thoughts on weather you should always do an
isDefined() before reading or writing a session/application variable? Why?
thanks,
tj
!-------------
That is one of those golden rules of programming.
You cannot perform an operation on something that is not existant.
Therefore, you must ensure that your variable exists before you can use
it. Much like initalizing your variable you must also always be sure it
exists
given the nature of ColdFusion :)
Jeremy Allen
[EMAIL PROTECTED]
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.