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

Summary

The Application files are an integral parts of the ColdFusion development environment application framework, transforming sets of files into a cohesive application. Application.cfm is executed before every page request, Application.cfc supports a variety of methods for far greater control.

Sample Questions

1:Which of the following Application.cfc methods is executed first?
  1. onRequest()

  2. onRequestStart()

  3. onRequestEnd()

  4. onRequestNew()

2:Where must OnRequestEnd.cfm be in order to be executed?
  1. In the current directory

  2. In the Web root

  3. In the application root

  4. In the same directory as the executed Application.cfm

3:When should onRequest() not be used? (select two)
  1. When Web Services are being used

  2. When locking is being used

  3. When Flash Remoting is being used

  4. When onRequestStart() is being used

  5. When Flash is being used

4:When using Application.cfc, which method can be used to set local VARIABLES that can be used within the page being requested?
  1. onRequestStart()

  2. onRequest()

  3. onRequestEnd()

  4. None, local variables set within a CFC are local to the CFC


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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