Smart Maintenance Message
If you need to perform an upgrade on your ColdFusion website and it requires keep users away for a little while so they don't see error messages, then you can use the following ColdFusion file to show them an "upgrading..." message.
Your users will see this message but your team can continue accessing the website by entering an access code on the URL like so www.testsite.com/?accesscode=byPass
The access code can easily be changed in the file and the template can easily be turned off by changing 1 to 0 at the start of the file.
CFQUERYPARAM Vs Slow Query Logging
I use MySQL's slow query logging on all our servers and applications to identify any bad queries and bottlenecks.
But check this out - I was just on the MySQL slow query page and somebody has left a comment:
"Please note that the mysql slow query log will not show the SQL
of your slow queries if your application uses prepared statement."
So if we use <cfqueryparam...> we are fucking ourselves by not being able
to analyse slow queries.
That sucks!
Thief in the night - AutoComplete="OFF"
Firefox suddenly stopped remembering my login credentials for online Banking a few months ago. So everytime I want to remind myself how poor I am, I had to poke around in Google Docs for my "internet Banking" number, copy it to the form, then enter the password - a tedious and slow process.
I thought autocomplete not working was just a firefox glitch and that it would eventually right itself. This morning I did a search and encountered the obscure atocomplete="off" attribute.
"Could this be the problem", I mused, And so I checked - Indeed my Bank's login form is now using this attribute to save dumb users from themselves (Dumb users meaning those people that might click "remember this password" in an internet café

.
How to Turn Back on Autocomplete
You can use a greasemonkey script to change autocomplete="no" to autocomplete="yes" on all forms on the webpage. There are a number of simple greasemonkey scripts to do just this available at:
http://userscripts.org/scripts/search?q=autocomplete
Hat tip:
howtogeek.com
I don't know everything!
I've been programming websites for almost 10 years now and I missed this autocomplete attribute or else passed over it. Kind-of disappointed with myself - I don't know everything afterall!