Enter your Sign on user name and password.

Forgot password?
Sign In | Subscribe
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of ColdFusion 9: Application Framework
  • Discussion

  • Study Guides

  • Table of Contents

Start Learning Now

Our free lessons will get you started (Adobe Flash® required).
Get immediate access to our entire library.

Sign up for Educator.com

Membership Overview

  • Unlimited access to our entire library of courses.
  • Search and jump to exactly what you want to learn.
  • *Ask questions and get answers from the community and our teachers!
  • Practice questions with step-by-step solutions.
  • Download lesson files for programming and software training practice.
  • Track your course viewing progress.
  • Download lecture slides for taking notes.
  • Learn at your own pace... anytime, anywhere!

CFC Placement

  • The application.cfc file is where you record the code to run for these methods
  • You do not have to use them
  • This is also the file you use to set up your error handling for the entire application
  • This file is a CFC or ColdFusion component
  • But it is a special one
  • Has a preset syntax
  • We will build an application.cfc file
  • Create the Application.cfc file here
    • Create a new component called Application.cfc
    • Define sitewide application level variables
      • Dsn
      • <cfset this.dsn=”scubaVac”><cfset this.name="scubaVacations"><cfset this.sessionManagement = "True"><cfset this.sessionTimeout = "#createtimespan(0,0,10,0)#"><cfset this.clientManagement = "No"><cfset this.loginStorage="Session"><cfset this.setDomainCookies = "Yes"><cfset this.scriptProtect = "Yes"><cfset this.ApplicationTimeout = "#createtimespan(0,1,0,0)#">