Hidden Gem in CF9: controlling Application.cfm/cfc lookup order
Note: This blog post is from 2009. Some content may be outdated--though not necessarily. Same with links and subsequent comments from myself or others. Corrections are welcome, in the comments. And I may revise the content as necessary.It's that time again, time for me to start sharing hidden gems in CF9. In this first offering, I'll point out an interesting option now available in the CF Admin that lets you control how far up the drive CF searches for Application.cfm/cfc files. It's not quite as obvious as it seems, nor is it well documented. One of the options may even surprise you. More on the feature in a moment.
Isn't CF case sensitive? If yes it's Application.cfm not application.cfm
CF is not case sensitive, but the OS you're using might be. On Windows, the case of Application.cfm doesn't matter, however it does matter on Linux. You should always use Application.cfm just to be safe.
While it'll never matter on Windows, if you ever move the application to some *nix flavor, it will matter and thus cause problems with your code.
This was one of the first bugs I logged in the CF9 Beta:
http://cfbugs.adobe....=78738
http://help.adobe.co...
Do keep that in mind, if you ever see either something that deserves feedback or, as here, where you might point to an alternative source of information that readers of the docs may want to consider.
The problem is I am having hundreds of files consists of data from 2000 to 2011 for both FALL and Spring semesters.
now dynamically at the runtime i am asking about the category(either SEM or YEAR) if i categorize either by year or by SEM but it doesnt give me any results so can u please give me some push on this.
Advanced thanks