Here's a little thing I ran across today that might be worth noting — in CF8 there were apparently some changes in how a couple of the system commands work. I had an old snippet of code set up as a custom tag, it dumped out the last modified date of the file at the bottom of any page it was included in. Prior to CF8, CGI.CF_TEMPLATE_PATH and also getCurrentTemplatePath() would refer to the template which was calling a custom tag; post CF8, they refer to the custom tag. Which they probably should have done from the beginning… but it broke my code.

Oh, and the revised code snippet:

<cfset fileObj =createObject("java","java.io.File").init(getBaseTemplatePath())>
<cfset fileDate =createObject("java","java.util.Date").init(fileObj.lastModified())>
<cfoutput>Last Modified: #dateformat(fileDate,"m/d/yyyy")# #timeformat(fileDate)#</cfoutput> (Much more efficient than the lovely looping through cfdirectory cruft that was leftover from CF 4.5)