March 15, 2007

ColdFusion Function

If you are looking for a function like ifDefined for ColdFusion, you won't find it! Its not called IfDefined, its called isDefined. Here's an example code:
<cfif isDefined("Session.login") and EmptySession eq 0 >

Incidently the above code is one way to reset a ColdFusion session. You should experiment to what works best in your enviroment!


Add your Comments

Feel free to leave a comment about this post.

- Feel Free to add HTML to your comment!