MACROMEDIA COLDFUSION 4.5 User manual

Category
Software
Type
User manual

This manual is also suitable for

Allaire Corporation
Administering
ColdFusion Server
ColdFusion 4.5
Copyright Notice
© 1999 Allaire Corporation. All rights reserved.
This manual, as well as the software described in it, is furnished under license and may
be used or copied only in accordance with the terms of such license. The content of
this manual is furnished for informational use only, is subject to change without
notice, and should not be construed as a commitment by Allaire Corporation. Allaire
Corporation assumes no responsibility or liability for any errors or inaccuracies that
may appear in this book.
Except as permitted by such license, no part of this publication may be reproduced,
stored in a retrieval system, or transmitted in any form or by any means, electronic,
mechanical, recording, or otherwise, without the prior written permission of Allaire
Corporation.
ColdFusion and HomeSite are federally registered trademarks of Allaire Corporation,
HomeSite, the ColdFusion logo and the Allaire logo are trademarks of Allaire
Corporation in the USA and other countries. Microsoft, Windows, Windows NT,
Windows 95, Microsoft Access, and FoxPro are registered trademarks of Microsoft
Corporation. All other products or name brands are the trademarks of their respective
holders. Solaris is a trademark of Sun Microsystems Inc. UNIX is a trademark of The
Open Group. PostScript is a trademark of Adobe Systems Inc.
Part number: AA-45ADM-RK
Contents
Preface: Welcome to ColdFusion ...................................................................xi
Intended Audience......................................................................................................................... xii
Welcome to the ColdFusion 4.5 Web Application Server ........................................................... xii
Products and System Requirements ............................................................................................ xii
New features in ColdFusion 4.5 ....................................................................................................xiv
New visual tools......................................................................................................................xiv
Enhancements to CFML ........................................................................................................xiv
Better reliability .......................................................................................................................xv
Improved performance...........................................................................................................xv
Enterprise connectivity features ...........................................................................................xvi
Security enhancements..........................................................................................................xvi
Developer Resources ....................................................................................................................xvii
About ColdFusion Documentation ........................................................................................... xviii
Documentation updates..................................................................................................... xviii
ColdFusion manuals ........................................................................................................... xviii
ColdFusion Server online documentation ...........................................................................xix
Printing ColdFusion documentation....................................................................................xix
Documentation conventions..................................................................................................xx
Getting Answers ..............................................................................................................................xx
Contacting Allaire....................................................................................................................xx
Chapter 1: Installing and Configuring ColdFusion........................................1
ColdFusion System Requirements ................................................................................................. 2
Windows (NT, 98, or 95)........................................................................................................... 2
Solaris (Enterprise edition only).............................................................................................. 4
Linux.......................................................................................................................................... 5
Installing ColdFusion on Windows ................................................................................................5
Verifying that a Web server is running.................................................................................... 5
Installing ColdFusion............................................................................................................... 6
Uninstalling ColdFusion........................................................................................................ 11
Performing Windows-specific configurations ..................................................................... 11
Installing ColdFusion on Solaris................................................................................................... 13
Installing ColdFusion............................................................................................................. 14
Upgrading from a previous release of ColdFuison.............................................................. 16
iv Administering ColdFusion Server
Uninstalling ColdFusion.........................................................................................................16
Configuring Web servers for Solaris.......................................................................................16
Using scripts to start and stop ColdFusion manually ..........................................................22
Installing ColdFusion on Linux .....................................................................................................23
Installing ColdFusion..............................................................................................................23
Uninstalling ColdFusion.........................................................................................................25
Chapter 2: Introduction to ColdFusion Server.............................................27
Overview of Administering ColdFusion........................................................................................28
Accessing the Administrator...................................................................................................28
Initial ColdFusion administration tasks................................................................................29
Summary of Administrative Tasks.................................................................................................29
The ColdFusion Administrator......................................................................................................30
ColdFusion Services on Windows NT ...........................................................................................32
ColdFusion Processes on Solaris ...................................................................................................33
Starting and Stopping ColdFusion ................................................................................................33
Windows NT ............................................................................................................................34
Solaris.......................................................................................................................................34
Windows 95 and Windows 98.................................................................................................34
Stopping ColdFusion ..............................................................................................................35
Chapter 3: Configuring ColdFusion Server ..................................................37
The ColdFusion Administrator......................................................................................................39
Accessing the Administrator remotely ..................................................................................39
Starting and Stopping ColdFusion ................................................................................................41
Using batch files to start and stop ColdFusion (Windows)..................................................41
Using scripts to start and stop ColdFusion (Solaris) ............................................................42
The Server Settings Page ................................................................................................................42
Caching Settings .............................................................................................................................44
Configuring Administrator Security..............................................................................................44
Managing Client Variables.............................................................................................................45
Planning client state management ........................................................................................45
State Management and Server Clustering ....................................................................................48
Configuring a data source in a clustering environment ......................................................48
Enabling External Client State Management................................................................................48
Client variable storage options ..............................................................................................49
Purge client variables..............................................................................................................49
Disable global client variable updates...................................................................................49
Create client variable data source tables...............................................................................50
Migrating Client Variable Data ......................................................................................................50
Creating client variable tables................................................................................................50
Sample table creation page ....................................................................................................51
Enabling Application and Session Variables ................................................................................51
Specifying timeouts.................................................................................................................51
Monitoring ColdFusion Performance...........................................................................................52
ColdFusion counters available...............................................................................................52
Locking Variables............................................................................................................................53
Contents v
ColdFusion Java Settings................................................................................................................54
ColdFusion Version Information...................................................................................................55
Solaris version information ....................................................................................................55
The ColdFusion Logging Page .......................................................................................................56
Administrator email address..................................................................................................56
Log directory............................................................................................................................56
Log slow pages.........................................................................................................................57
Logging email messages .........................................................................................................57
Log files created by ColdFusion ............................................................................................57
Log file format..........................................................................................................................58
Mapping Directories.......................................................................................................................58
Using the Extensions Pages............................................................................................................59
Managing CFX tags..................................................................................................................59
CFX tag samples ......................................................................................................................59
Registering a Java applet.........................................................................................................60
Debug Settings in the ColdFusion Administrator........................................................................62
Configuring Administrator Mail ....................................................................................................63
Indexing Data with Verity...............................................................................................................64
Using the Verity Collections page..........................................................................................64
Creating a collection ...............................................................................................................64
Populating a collection ...........................................................................................................65
Verity Supported File Types...........................................................................................................65
Repairing, Optimizing, Purging, and Deleting Collections.........................................................66
Configuring Server-Side Source Control.......................................................................................67
Requirements ..........................................................................................................................67
Using ColdFusion in a Distributed Configuration.......................................................................68
Distributed ColdFusion and clustering.................................................................................68
Changes in the 4.5 version......................................................................................................68
Configuring Distributed ColdFusion ............................................................................................69
Using the modified plug-in ....................................................................................................69
The Network Listener Module (NLM) ...................................................................................71
Installing the module on UNIX ..............................................................................................72
Listener Module Command Line Options....................................................................................73
Using the INI file to specify startup options .........................................................................74
Chapter 4: Managing Data Sources ..............................................................77
About ColdFusion Data Sources....................................................................................................78
Supported Databases .....................................................................................................................79
Where to go from here ............................................................................................................80
Choosing the Right Drivers ............................................................................................................80
ODBC Drivers ..........................................................................................................................80
Native Drivers..........................................................................................................................81
OLE DB Drivers........................................................................................................................82
Adding Data Sources for ColdFusion............................................................................................82
ColdFusion Settings ................................................................................................................84
Verifying ColdFusion Data Sources...............................................................................................85
Connecting to Microsoft SQL Server Databases ..........................................................................87
Configuring Microsoft SQL Server Options (Windows).......................................................87
vi Administering ColdFusion Server
Configuring Microsoft SQL Server Options (UNIX) .............................................................88
Connecting to Visual FoxPro Databases.......................................................................................89
Configuring Visual FoxPro Options (Windows)....................................................................89
Connecting to OpenIngress Databases.........................................................................................90
Configuring OpenIngress Options (UNIX)............................................................................90
Connecting to dBase Databases ....................................................................................................92
Configuring dBase Options (Windows).................................................................................92
Configuring Inprise dBase Options (UNIX) ..........................................................................93
Connecting to Microsoft Access Databases..................................................................................94
Configuring Microsoft Access Options (Windows) ..............................................................94
Access Connectivity Tips (Windows).....................................................................................95
Connecting to Microsoft Excel Databases ....................................................................................96
Configuring Microsoft Excel Options (Windows).................................................................96
Connecting to ASCII Text Databases.............................................................................................97
Configuring Microsoft Text options (Windows)...................................................................97
Configuring Microsoft Text ODBC options (UNIX)..............................................................97
Connecting to Oracle 7.3/8.0 Databases.......................................................................................98
Configuring Oracle 7.3/8.0 Options (Windows) ...................................................................98
Configuring Oracle 7.3/8.0 Options (UNIX)..........................................................................98
Connecting to Oracle 7 and 8.0 Databases (UNIX)...............................................................99
Connecting to Oracle 8.0.x through ODBC (UNIX) ............................................................101
Troubleshooting the Oracle 7.3 Native Driver (Windows).................................................102
Configuring the Oracle 8 Client (Windows, UNIX).............................................................103
Connecting to DB2 Data Sources ................................................................................................105
Configuring DB2 Options (Windows)..................................................................................105
Configuring DB2 Options (UNIX) ........................................................................................105
Configuring System and Services Files (UNIX)...................................................................106
Installing and Configuring DB2 Client Enabler (UNIX).....................................................107
Data source and start script settings for DB2 (UNIX).........................................................108
DB2 Binding and Privileges for ODBC (UNIX)....................................................................109
Executing a DB2 Stored Procedure (Windows, UNIX) .......................................................109
Connecting to Informix data sources..........................................................................................111
Configuring Informix Options (Windows) ..........................................................................111
Configuring Informix Options (UNIX).................................................................................112
Connecting to Informix Data Sources (UNIX)....................................................................113
Connecting to Informix through ODBC/CLI (Windows, UNIX) .......................................114
Connecting to Sybase System 11 data sources...........................................................................117
Configuring Sybase System 11 Options (Windows) ...........................................................117
Configuring Sybase System 11 Options (UNIX)..................................................................118
Tips for Connecting to Sybase System 11 (UNIX)...............................................................119
Using ColdFusion to Create a Data Source.................................................................................120
Chapter 5: Scheduling and Static Page Generation ..................................123
About Scheduling ColdFusion Pages ..........................................................................................124
Scheduling a ColdFusion Page ....................................................................................................124
Specifying the Interval for a Scheduled Task..............................................................................125
Specifying the Page to Execute ....................................................................................................126
Saving Scheduled Output to a File ..............................................................................................126
Contents vii
Defining the Scheduler Refresh Interval.....................................................................................126
Logging Scheduled Events ...........................................................................................................127
Chapter 6: Creating Scalable and Highly Available Web Sites .................129
What is Scalability? .......................................................................................................................130
Performance ..........................................................................................................................130
Load management ................................................................................................................132
Issues Affecting Successful Scalability Implementations..........................................................132
Designing and coding scalable applications.......................................................................133
Avoiding common bottlenecks ............................................................................................137
DNS effects on Web site performance and availability......................................................138
Load testing your Web applications ....................................................................................142
What is Web Site Availability? ......................................................................................................144
Availability & reliability.........................................................................................................145
Common failures...................................................................................................................146
A Web site availability scenario............................................................................................146
Failover considerations.........................................................................................................147
Techniques for Creating Scalable & Highly Available Sites.......................................................149
What is clustering?.................................................................................................................149
Hardware-based clustering solutions..................................................................................150
Software-based clustering solutions....................................................................................152
Combining hardware and software clustering solutions...................................................154
Introducing ClusterCATS for ColdFusion...................................................................................155
ClusterCATS for ColdFusion Features.................................................................................155
ClusterCATS for ColdFusion Components.................................................................................158
ClusterCATS Server ...............................................................................................................158
ClusterCATS Explorer ...........................................................................................................159
ClusterCATS Server Administrator ......................................................................................160
Before You Install..........................................................................................................................161
Review the release notes.......................................................................................................161
Verify system requirements..................................................................................................161
Configure your primary DNS server ....................................................................................163
Configure your Web server’s network settings ...................................................................171
Configure ClusterCATS for use across firewalls..................................................................184
Installing ClusterCATS .................................................................................................................185
Creating Clusters...........................................................................................................................192
Creating clusters with the Cluster Setup Wizard................................................................192
Creating clusters manually...................................................................................................199
Configuring Load Balancing & High Availability Features........................................................203
Configuring server load thresholds......................................................................................203
Configuring session-aware load balancing.........................................................................207
Configuring ColdFusion probes...........................................................................................208
Integrating ClusterCATS with load balancing devices.......................................................211
Configuring administrator alarm notifications ..................................................................215
Configuring administration e-mail support .......................................................................217
Configuring cluster administration security.......................................................................218
Performing Common Cluster Administration Tasks .................................................................223
Changing a server’s state ......................................................................................................224
viii Administering ColdFusion Server
Restricting a server from participating in a cluster ............................................................224
Putting a cluster member in maintenance mode...............................................................225
Updating software or content on an existing cluster .........................................................228
Resetting a server’s configuration to its pre-clustered state..............................................230
Administering UNIX-based Clusters...........................................................................................231
Using the ClusterCATS Web Explorer..................................................................................231
Using the ClusterCATS server utilities.................................................................................261
Troubleshooting............................................................................................................................267
Other Informational Resources ...................................................................................................267
White papers..........................................................................................................................267
Web sites ................................................................................................................................268
Books......................................................................................................................................268
Chapter 7: Using CGI with ColdFusion........................................................269
CGI vs. Web Server APIs ...............................................................................................................270
Limitations of CGI.........................................................................................................................270
Referencing Application Pages with CGI ....................................................................................271
URLs and the cfml.exe script................................................................................................271
Application page references.................................................................................................272
Chapter 8: ColdFusion Security...................................................................273
Why Is ColdFusion Security Important? 274
Types of ColdFusion Security...............................................................................................275
Choosing a Level of ColdFusion Security ...................................................................................276
Developing Applications ......................................................................................................277
Deploying Applications ........................................................................................................278
Securing the ColdFusion Administrator..............................................................................280
To Learn More About Security.....................................................................................................281
Chapter 9: Configuring Basic Security........................................................283
About Basic Security.....................................................................................................................284
Installation defaults ..............................................................................................................284
Configuring Basic Remote Development Security.....................................................................284
Securing data sources ...........................................................................................................285
ColdFusion Remote Development Services (RDS) ....................................................................285
Basic Security Limitations ....................................................................................................285
Securing ColdFusion file resources .....................................................................................286
Securing ColdFusion data sources.......................................................................................286
Using a Password to Restrict Access to RDS...............................................................................287
ColdFusion Studio Password................................................................................................287
Removing password-based access control: Windows........................................................287
Removing password-based access control: Solaris ............................................................287
Configuring Basic Runtime Security ...........................................................................................288
Chapter 10: Configuring Advanced Security .............................................289
What is Advanced Security? .........................................................................................................290
Contents ix
Advanced Security Basics.............................................................................................................290
User Directories.....................................................................................................................291
Resources...............................................................................................................................291
Policies ...................................................................................................................................292
Security Contexts...................................................................................................................293
Advanced Security Implementations..........................................................................................294
Securing Applications with User Security...........................................................................294
Securing Resources with RDS Security................................................................................295
Securing Applications with a Security Sandbox .................................................................295
Securing the ColdFusion Administrator..............................................................................296
Creating an Advanced Security Framework ...............................................................................297
Implementation summary ...................................................................................................297
Installing Advanced Security .......................................................................................................298
Setting Up a Security Server.........................................................................................................299
Caching Advanced Security Information....................................................................................300
Defining User Directories ............................................................................................................301
Defining a Security Context .........................................................................................................304
Specifying Resources to Protect...................................................................................................305
Implementing ColdFusion RDS Security....................................................................................307
Implementing User Security........................................................................................................308
Implementing Server Sandbox Security .....................................................................................308
Securing the ColdFusion Administrator .....................................................................................310
Viewing a Map of your Security Framework...............................................................................311
An Example of ColdFusion Studio Security................................................................................311
Enabling Advanced Security.................................................................................................312
Specifying a User Directory..................................................................................................312
Defining a security context...................................................................................................312
Specifying resources to protect............................................................................................313
Adding policies ......................................................................................................................314
Granting access privileges ....................................................................................................314
Assigning users/groups to policies ......................................................................................315
Enable ColdFusion Studio Security .....................................................................................316
Undocumented Tags and Functions...........................................................................................317
Administrative Functions.....................................................................................................318
Administrative Tags ..............................................................................................................318
Index ..............................................................................................................319
x Administering ColdFusion Server
Preface Welcome to ColdFusion
Administering ColdFusion Server is intended for anyone who needs to install,
configure, and maintain ColdFusion Server.
Contents
• Intended Audience........................................................................................... xii
• Welcome to the ColdFusion 4.5 Web Application Server.............................. xii
• Products and System Requirements............................................................... xii
• New features in ColdFusion 4.5 ..................................................................... xiv
• Developer Resources...................................................................................... xvii
• About ColdFusion Documentation ............................................................. xviii
• Getting Answers ................................................................................................xx
xii Administering ColdFusion Server
Intended Audience
Administering ColdFusion Server is meant for anyone who needs to install, configure,
and maintain one or more ColdFusion Server installations.
Welcome to the ColdFusion 4.5 Web Application Server
The ColdFusion 4.5 release focuses on fundamentals — the fundamentals of delivering
your e-business: faster development, better reliability, enhanced scalability, expanded
integration, and stronger security.
At the center of the ColdFusion 4.5 release is an application server platform that's been
highly optimized with new functionality and native support for UNIX. As a result, your
e-business systems will run better and do more. With this release we're launching a
new edition of ColdFusion Server for Linux so you can take advantage of the reliability
and performance of the hottest new Internet server operating system.
While optimizing the core server, we also enhanced fundamental features including
email integration, server-side FTP and HTTP, advanced security, scheduling, and
database connectivity — again giving you more reliability and new functionality.
The focus on fundamentals extends to new features. As part of a broad new
commitment to Java, ColdFusion 4.5 has a range of new Java integration options from
Java CFXs to Java Servlet support to Java object and EJB connectivity. In ColdFusion
Studio 4.5, we added new tools to make you more productive including a flexible new
project architecture that makes managing and deploying complex Web applications a
snap. On the server, we focused on reliability, performance and security with features
such as service-level fail-over, Cisco Local Director integration, and OS security
integration.
Whether you're revolutionizing your company's HR operations, building the next
generation of your firm's global intranet, or launching the next killer .COM company,
you'll find the speed, scalability, connectivity, and security you need in ColdFusion 4.5.
Products and System Requirements
ColdFusion has been fully tested on the following platforms and with the following
configurations.
ColdFusion Server 4.5 Enterprise Edition for Windows
• Windows NT 4.0 SP4+
• Intel Pentium or above
• 150 MB hard disk space
• 128 MB RAM (256 MB recommended for clustering)
Preface xiii
ColdFusion Server 4.5 Enterprise Edition for Solaris
• SPARC Solaris 2.5.1, 2.6, or 7 (patch 103582-1B or higher)
• 128 MB RAM (256 MB recommended for clustering)
• 200 MB hard disk space
ColdFusion Server 4.5 Enterprise Edition for Linux
• Red Hat Linux 6.0 or 6.1
• Intel Pentium or above
• 128 MB RAM (256 MB recommended for clustering)
• 150 MB hard disk space
ColdFusion Server 4.5 Professional Edition for Windows
• Windows 95/98 or Windows NT 4.0
• Intel Pentium or above
• 50 MB hard disk space
• 32 MB RAM (128 MB recommended)
ColdFusion Server 4.5 Professional Edition for Linux
• Red Hat Linux 6.0 or 6.1
• Intel Pentium or above
• 64 MB RAM (128 MB recommended)
• 100 MB hard disk space
ColdFusion Studio 4.5
• Windows 95/98/NT4
• Intel Pentium or above
• 35 MB hard disk space
• 32 MB RAM (64 MB recommended)
xiv Administering ColdFusion Server
New features in ColdFusion 4.5
A wide range of new features are available in ColdFusion 4.5.
New visual tools
Universal File Browser — Access all your files from a single explorer that integrates
access to the Windows file system, ColdFusion RDS servers, and FTP servers. Drag-
and-drop between any of these services all in an integrated file browser.
Advanced Project Management — Manage your complex Web application
development projects with a new project architecture that gives you more flexibility
and control using physical, virtual, and auto-inclusive project folders as well as project
resource browsing.
Scriptable Deployment — Deploy applications to complex server configurations with
FTP or ColdFusion Remote Development Services (RDS). Use VBScript or Java Script to
fully script deployment of projects with granular control over how files uploaded.
Setup deployment scripts using a powerful wizard and save scripts for re-use.
Collapsible Code — Work with large, complex scripts and pages more easily by
collapsing sections of the code in the editor so you can build sophisticated
applications more quickly.
Function Insight — Find the parameters and format for functions instantly and inline
as you code.
Image Map Editor — Create image maps right in ColdFusion Studio with a new easy-
to-use visual tool.
Configuration Wizard — Setup your work environment so it meets all your needs
using any of more than dozen common configurations.
TopStyle CSS Editor — Create and edit standards-compliant cascading style sheets to
easily control the look and feel of your web applications.
WML Support — Build wireless Web applications quickly and easily with the complete
set of Wireless Markup Language (WML) visual tools.
Enhancements to CFML
Object Scripting — Instantiate and script objects using CFML script in addition to the
CFOBJECT tag easier integration with distributed object middleware such as COM and
CORBA.
Structured Exception Handling — Exception handling now offers hierarchical
exception handling that supports both greater customization and greater access to
internal exceptions.
String Conversion Functions — Convert strings quickly and easily to be compatible
with Java Script and XML standards.
Preface xv
Better reliability
Server Probes — Guarantee high availability by automatically detecting when a
ColdFusion Server or Web server hangs or stops, failing-over to a new machine in a
ColdFusion cluster, and restarting the server with problems. (Enterprise Edition only)
Improved Automatic Server Recovery — Monitor and automatically restart server
process in case of failures or critical errors on individual servers not deployed in a
cluster.
Clustering Support for Apache — Setup ColdFusion clusters on Linux and Solaris
using the Apache Web Server. (Enterprise Edition only)
Automatic Shared Variable Locking — Lock user and session variable reads
automatically at the server level to prevent destabilizing conflicts and control thread
write contentions. Configure variable locking to meet the specific needs of your
applications.
Individual Data Source Control — Enable and disable individual data sources
individually without affecting server availability for runtime data source maintenance
without server restarts.
Improved performance
Cisco Local Director Integration — Deliver very large scale sites with Cisco Local
Director intelligently balancing load based on the load metrics provided by the
ColdFusion Servers in a cluster. (Enterprise Edition only)
Client-Side Page Caching — Leverage browser page caching to avoid unnecessary
downloads of unchanged pages and improve overall site performance.
Programmatically control refresh of client-side cache to ensure users see most up-to-
date output.
White Space Removal — Reduce white space left by processed code in application
pages to make the pages smaller and faster. Control white space removal
programmatically or administratively.
Scriptable Performance Metrics — Track key server metrics at run time through your
own scripts for intelligent diagnosis of performance bottlenecks of stability problems
in your applications.
Performance Debugging Data — Access detailed debugging information on the
performance of each individual page included in an application page that is being
debugged.
xvi Administering ColdFusion Server
Enterprise connectivity features
Transaction Commit and Rollback — Control database transactions with
programmable commit and rollback support for more reliable and better-managed
database interactions.
Java Object and EJB Connectivity — Connect to any Java object or Enterprise JavaBean
(EJB) hosted by any major EJB server to extend ColdFusion and access complex
business logic or third party distributed components.
Java Servlets — Call Java Servlets hosted by a Servlet Engine such as Allaire JRun from
within a ColdFusion application to access extended functionality
Java-based ColdFusion Extensions (CFX) — Extend ColdFusion with new
functionality through CFXs created with Java.
Binary Object Support — Use Character Large Binary Object (CLOB) support to
encoded binary objects, transmit them via XML, and store them in databases or files.
SQL Bind Parameters — Improve query performance, security and flexibility with
explicitly typed query parameters.
WDDX 1.0 — Exchange complex data, including encoded images, between servers and
with other programming environments even faster using the latest version of Web
Distributed Data Exchange (WDDX).
OS Command Execution — Execute OS shell scripts, services, executables and batch
files from within ColdFusion applications.
LDAP 3.0 — Use all the power of LDAP 3.0 for directory access including file filtering,
SSL encryption, and Microsoft Active Directory integration.
Enhanced Mail Integration — Develop more sophisticated and robust email
applications with new support for controlling mail headers, BCC, and multiple file
attachments.
Improved Server-Side HTTP — Use URL redirection, SSL, cookies, return headers, and
more robust server-side HTTP support for building distributed Web applications.
Security enhancements
General OS Security Integration — Secure entire Web applications and control access
to files and objects through your existing Windows NT security architecture.
Authenticated users in your applications can be limited to privileges authorized
through Windows security. (Windows NT Only)
OS Server Sandbox Security — Secure shared hosting environments more easily by
creating Server Sandboxes with Windows NT security. OS Server Sandboxes process all
requests under the privileges of a designated Windows NT user account (Enterprise
Edition for Windows only).
Enhanced Advanced Security — Secure CFML functions and enable CFML code
segments to be executed using the run-time security permissions of a designated user.
Preface xvii
New Advanced Security Interface — Manage Advanced Security configuration more
quickly and easily with a completely redesigned browser-based resource view.
Scriptable Advanced Security Administration — Configure ColdFusion Advanced
Security through your own CFML scripts for easier maintenance of ColdFusion
Servers.
Developer Resources
Allaire Corporation is committed to setting the standard for customer support in
developer education, technical support, and professional services. Our Web site is
designed to give you quick access to the entire range of online resources.
Allaire Developer Services
Resource Description
Allaire Web site
www.allaire.com
General information about Allaire products and
services.
Technical Support
www.allaire.com/support
Allaire offers a wide range of professional support
programs. This page explains all of the available
options.
Training and Consulting
www.allaire.com/services
Information about training classes, online
courses, and consulting services offered by
Allaire.
Developer Community
www.allaire.com/developer
All of the resources you need to stay on the
cutting edge of ColdFusion development,
including online discussion groups, Knowledge
Base, Component Exchange, Resource Library,
technical papers and more.
Allaire Partners
www.allaire.com/partners
The Allaire Alliance is a network of solution
providers, application developers, resellers, and
hosting services creating solutions with
ColdFusion.
xviii Administering ColdFusion Server
About ColdFusion Documentation
ColdFusion documentation is designed to provide support for all components of the
ColdFusion development system. Both the print and online versions are organized to
allow you to quickly locate the information you need.
In addition to the book set, the documentation is provided in two other formats:
• HTML — Browser-based Help references.
• Adobe Acrobat (PDF) — Available from the root level on the product CD-ROM
and from the Developer area of Allaire’s Web site at http://www.allaire.com/
developer
.
Documentation updates
Late additions and corrections to ColdFusion printed documentation are listed in the
Documentation Updates page. To reach this page, open the Welcome to ColdFusion
page installed with ColdFusion, where you’ll find links to the update page as well as
links to other pages containing useful information about ColdFusion, Allaire support
options, and Allaire products and services.
For ColdFusion Studio users, you can access the documentation update page by
clicking on the Help resource tab and browsing your way through the online help tree
to the Allaire Support folder.
ColdFusion manuals
The core ColdFusion documentation set consists of the following titles.
Administering ColdFusion Server
Includes instructions for installing ColdFusion Server. Describes configuration options
for maximizing performance, managing data sources, setting security levels, and a
range of development and site management tasks. If you are administering a
ColdFusion site, you’ll need this book to help plan and implement ColdFusion
security, load balancing, and for details about tuning the ColdFusion application
server.
Developing Web Applications with ColdFusion
Presents the fundamentals of ColdFusion application development and deployment.
Also includes detailed information about ColdFusion data sources, user interfaces,
and Web technologies.
CFML Language Reference
Provides the complete syntax, with example code, of all CFML tags and functions.
Preface xix
Using ColdFusion Studio
Documents everything you need to know about using ColdFusion Studio, including
features like projects, source control integration, as well as the Studio workspace and
interface.
Quick Reference to CFML
A valuable quick reference to CFML tags, functions, and variables.
ColdFusion Server online documentation
To view the HTML documentation, open the following URL: http://127.0.0.1/
cfdocs/dochome.htm
.
Note that because the Verity search libraries are not available on Linux for this release,
the online documentation search facility is not functional on Linux. If you try to open
the search page, a message box opens to explain why the facility is not available.
Acrobat versions of all ColdFusion documentation are available from the root level on
the product CD. If you don’t have a product CD, you can download ColdFusion
documentation from the Allaire web site by visiting
http://www.allaire.com/
developer
and clicking the Documentation link.
ColdFusion Studio online documentation
Click the Help resource tab in ColdFusion Studio to view online Help pages. The help
tree contains ColdFusion documentation and a number of additional developer
resources. Studio online documentation is searchable and individual pages can be
bookmarked.
Printing ColdFusion documentation
If you are working with an evaluation version of ColdFusion and would like printed
documentation, access the Adobe Acrobat files found from the root level on the
product CD. If you do not have access to a product CD, you can download the Acrobat
files from the Allaire web site:
http://www.allaire.com/developer, click the
Documentation link.
The Acrobat files offer excellent print output. You can print an entire manual,
individual sections, or page ranges of your choice. To get the Acrobat reader, visit:
http://www.acrobat.com.
xx Administering ColdFusion Server
Documentation conventions
When reading, please be aware of these formatting cues:
• Code samples, filenames, and URLs are set in a
monospaced font
• Notes and tips are identified by bold type
• Bulleted lists present options and features
• Numbered steps indicate procedures
• Tool button icons are generally shown with procedure steps
• Menu levels are separated by the greater than (>) sign
• Text for you to type in is set in italics
Getting Answers
One of the best ways to solve particular programming problems is to tap into the vast
expertise of the ColdFusion developer community on the Allaire Forums. Other
ColdFusion developers on the forum can help you figure out how to do just about
anything with ColdFusion. The search facility can also help you search messages going
back 12 months, allowing you to learn how others have solved a problem you may be
facing. The Forums is a great resource for learning ColdFusion, but it’s also a great
place to see the ColdFusion developer community in action.
Contacting Allaire
Corporate headquarters
Allaire Corporation
One Alewife Center
Cambridge, MA 02140
Tel: 617.761.2000
Fax: 617.761.2001
http://www.allaire.com
Technical support
Telephone support is available Monday through Friday 8 A.M. to 8 P.M. Eastern time
(except holidays)
Toll Free: 888.939.2545 (U.S. and Canada)
Tel: 617.761.2100 (outside U.S. and Canada)
For complete details about Allaire Product Support options, please refer to the Allaire
Support pages on the Allaire web site:
http://www.allaire.com/support.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350

MACROMEDIA COLDFUSION 4.5 User manual

Category
Software
Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI