Macromedia ColdFusion MX 7 Certified Developer Study Guide

APPLICATION and SERVER variables are wonderful tools for making information widely available throughout an application or server. Although they do take up space in memory, they can decrease the need for calls to the database, which is often the most taxing function of your application.

Sample Questions

1:

Which of the following statements is true?

  1. The use of SERVER variables must be explicitly enabled in ColdFusion Administrator.

  2. SERVER variables may always be used and cannot be disabled.

  3. SERVER variables may be used as long as an Application file is present.

2:

Where are APPLICATION variables stored?

  1. Server memory

  2. Server cookies

  3. Client cookies

  4. Database

3:

Which Application.cfc method should be used to set SERVER variables?

  1. onApplicationStart()

  2. onServerStart()

  3. onRequestStart()

  4. onRequest()

  5. none of the above

Категории