ColdFusion Duplicate Application Names

I had to help a customer today that was having an issue where variables he set in his application.cfm in a sub-folder were not being set.  This was causing all kinds of issues, like the wrong DSN being used which caused issues on database updates.  Turns out he had a similar application.cfm in his admin folder, so I checked that out.  What I found was that the admin one had a name of “SiteNameAdmin” but the secure folder (which was having issues) was simply “SiteName” the exact same as the root of his site.  So, I changed the name and voila it worked perfectly.
More Reading
Ray Camden has a great blog post about this same issue:
http://www.coldfusionjedi.com/index.cfm/2007/4/12/Duplicate-Application-name-issue

Leave a Reply

Your email address will not be published. Required fields are marked *