In this tutorial, I'm showing you a working method for URL Rewriting using ColdFusion, and a ColdFusion CFC.
You'll be able to have your old urls like: http://yoursite.com/index.cfm?var1=1&var2=2
to be viewed and displayed as: http://yoursite.com/index.cfm/var1/1/var2/2/
With AJAX applications giving us a lot more power than an "old school" web 1.0 page, it isn't unusual for someone to just sit on one page and fire off various operations that use HTTP to fetch and present data. This works fine until you leave the site alone for too long and your session times out. (I'm assuming most folks use a time based session, much like how ColdFusion works.) The question is - what happens in your current AJAX based application when a user's session times out?
There is a solution...
Refreshing Captcha in Coldfusion Just Like PHP. It can be done using Coldfusion 8 and small Javascript Function. Actually There are two ways how we can generate the Captcha and Make a bit difficult to read and another is a simple technique to generate the Captcha.