chapter31

development in a land far far away…

at the moment

History is not what happened. History is what was written down.

Archive for December, 2006

scriptprotect in CFMX7

Thursday, December 21st, 2006

I only recently found out about scriptprotect which is a cool new feature of ColdFusion MX7. Scriptprotect basically specifies whether to protect variables from cross-site scripting attacks, and can be enabled 2 ways.
The first is a server setting in ColdFusion Administrator. Go to ‘Settings’ and check the “Enable global script protection” checkbox. This will obviously […]

Read the rest of this entry »

eclipse/cfeclipse gives me a headache

Wednesday, December 20th, 2006

So I know I’m going to get a hard time from the die hard eclipse lovers out there. Don’t get me wrong, eclipse (or more precisely for me cfeclipse) is free to use and at that cost you can’t get any cheaper which is fantastic for all ColdFusion developers
Also I REALLY admire Rob […]

Read the rest of this entry »

At Daemon we often run ColdFusion in multi-server mode (on top of JRun) which enables us to cleanly separate projects which require different server settings from one another.
Typically I have a ColdFusion instance per Farcry version, at the moment that would be:

p300 (v3)
gonzales (v4)

When ColdFusion first installs in multi-server mode you get the default ‘cfusion’ […]

Read the rest of this entry »

A colleague sent me a nice way to obtain access to ColdFusion Administrator (any instance) when you’ve lost your password. After a little googling I also came across another method, both assume that you have administrator access to the application server.
The following examples assume a ColdFusion installation in a multi-server environment, using the default (cfusion) […]

Read the rest of this entry »

No error handler for MXNA

Wednesday, December 13th, 2006

Funny, but I’ve had this screen many many times when accessing MXNA.
I wonder how many sites (let alone high profile sites) don’t have a default error handler in place.

Exception handling (be it with cftry/cfcatch or cferror etc) is often the last thing on a developers mind. It’s easy to assume that things won’t go wrong […]

Read the rest of this entry »