• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Day 16. Using ColdFusion Client and Sess... > Setting Values In Application.cfm

Setting Values In Application.cfm

Take a look at a sample Application.cfm file in Listing 16.1.

Listing 16.1 Application.cfm

 1: <!--- CREATE A NAME FOR THE APPLICATION --->
 2: <CFAPPLICATION NAME="elvis">
 3:
 4: <!--- DEFINE A DEFAULT DATASOURCE --->
 5: <CFSET ODBC_Datasource = "elvis">
 6:
 7: <!--- DEFINE A DEFAULT BACKGROUND COLOR --->
 8: <CFSET BG_Color = "FFFFFF">
 9:
10: <!--- DEFINE A DEFAULT FONT --->
11: <CFSET Font_Face = "Helvetica">


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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