• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Multiple Application.cfm

In case you weren’t aware, it’s possible to have multiple Application.cfm files in one site. In fact, you could have one Application.cfm for every folder in your site. What good does this do you? When a page is called, the ColdFusion server walks up the directories, looking for the first Application.cfm file it finds. When it finds that first Application.cfm file, it runs all the code located in the file. This means that you could use an Application.cfm file in folder 1 to handle one type of password protection, and use a different Application.cfm file in folder 2 to handle a different password protection. When you start playing, you’ll find all kinds of wonderful uses for multiple Application.cfm files.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint