Archive for the 'ColdFusion' Category

Switching the port for the built-in ColdFusion web server

Friday, May 2nd, 2008

Straight from the ColdFusion Documentation
You can change the port on which the built-in web server runs.
To change the port for the built-in web server:
1. Back up the jrun.xml file.
This file is in the cf_root\runtime\servers\default\SERVER-INF directory in Windows, and in the cf_root/runtime/servers/default/SERVER-INF directory on UNIX.
2. Open the original jrun.xml file for editing.
3. Change the port number [...]

The Plague of ColdFusion 8’s Corrupt Tables

Tuesday, January 22nd, 2008

Recently my company’s intranet server has been afflicted with reoccurring “Corrupt Table” issues. This is apparently is a bug with how ColdFusion handles cached queries when the “Maximum number of cached queries” size is less than the number of queries to be cached by an application.
You can resolve this issue in one of the following [...]

isTrueNumeric in ColdFusion

Tuesday, January 15th, 2008

The existing isNumeric() ColdFusion function accepts e (express scientific notation) and d (denote double precision) as numeric characters and will return true/yes. If you are looking for a true isNumeric function checkout Tomas Becklin’s isTrueNumeric function on cflib.
http://www.cflib.org/udf.cfm?ID=1283

ColdFusion Function Arguments & Scope

Tuesday, December 18th, 2007

I ran into a little problem the other day with ColdFusion function arguments and standard ColdFusion scopes. Here is a little example similar to the issue I was having
<cffunction name=”someFunction”>
<cfargument name=”Server” >
<cfdump var=”#Variables#”>
<cfdump var=”#Server#”>
<cfdump var=”#Server.ColdFusion#”>
</cffunction>
<cfdump var=”#Server#” >
<cfoutput>
#someFunction(”myServer”)#
</cfoutput>
In this example I have a argument named “Server”.  When I try to access the “Server” scope, I can [...]

ColdFusion Scopes & Order of Precedence

Thursday, December 13th, 2007

If you do not specify the scope of the variable, according to the docs, CF will search for it in the following order (this is called the order of precedence):

Local variables
cfquery
CGI
File
URL
Form
Cookie
Client

Other scopes always need to be scoped:

Server
Application
Session
Request
Attributes
Error

Per-application settings are not supported with Application.cfm

Wednesday, December 5th, 2007

I was trying to integrate a legacy application with a new ColdFusion 8 application by creating mappings to my components in the new application. Unfortunately my old application uses a Application.cfm page and this is only possible if I use Application.cfc. Guess I am going to have to do some porting. See [...]

Using ColdFusion To Get The Members Of An MS Exchange Distribution List

Tuesday, November 13th, 2007

The easiest way to get the members of a MS Exchange distribution list is to query your MS Active Directory Server using standard LDAP technology.  This can be accomplish with using ColdFusion’s CFLDAP tag & a relatively simple LDAP query.  It a little challenging, because you probably have to be somewhat familiar with your LDAP [...]

What will save ColdFusion? To Create Better Internet Applications Quickly and Easily! RIAMS?

Monday, October 15th, 2007

Straight from the ColdFusion WebSite, ColdFusion is promoted as a tool to “Create better Internet applications quickly and easily”. Following this simple slogan will put ColdFusion back on top.
A couple weeks ago I was designing my next big ColdFusion application, and was debating whether to use Mach-ii or Model-Glue. Currently about 30% of [...]

Another ColdFusion Trend Indicator?

Friday, October 12th, 2007

Is this another indicator about the prospects for ColdFusion?  Read the article ‘Is Adobe “Officially” Killing ColdFusion?’ over at Sys-Con (Click Here)

ColdFusion is not dead, just … stealthy

Thursday, October 11th, 2007

Check out this article on ComputerWorld by Eric Lai.
Can Adobe make ColdFusion hot (again) or not?