|
URL Processing begins with: \application.cfm
-
If not defined, does preliminary initialization of request.server variable. This initialization covers the minimal fields necessary to email errors, and to set up initial contact with the Presto database via ODBC. Shortly after this step, application.server values are loaded based on database settings for the presto installation held in the setup table, and the request.server variable is set to equal application.server, and so returns all of application.server's fields, and takes on its persistence - it exists on the next request by ANY browser so long as application.server exists! The only reason request.server is set up like this is to enable reporting on database errors in advance of actually connecting with the database.
| request.server |
| .live |
0 indicates test site, 1 indicates live site. Some settings, like relative directory from domain root, vary according to this setting. |
| .admin_email |
site administrator's email address |
| .info_email |
For general inquiry emails, and this will also be used as the "from" email for system generated emails sent to the site administrator. On some ISP's this has to be different from the site administrator's email address because of SMTP server security. |
| .email_errors |
Defaults to 1 in advance of database setting. |
| .datasource |
Presto ODBC datasource holding all data for this Presto installation |
| .sql_user: |
This Presto database may require an SQL_User password. If not, leave it blank. |
| .sql_password |
as above |
-
Activate basic error emailing using error reporting html template /presto/error.cfm . This template has an email_errors flag which is primed by default to have any error report emailed to the site administrator (via the email address set up above). Default error text is provided which can be customized.
On initialization of a Presto website, most of these settings are almost immediately overwritten by site-specific (and possibly multilingual) settings that are retrieved from the database (as detailed later). So in practice, there are very few errors that can occur before the database's settings are utilized, and consequently the default error_page_html text can be quite specific. Errors here typically only occur on initialization of the database if the ODBC connection is malfunctioning, or the Presto database's "setup" table is missing necessary fields (as detailed in init_application.cfm below), making initialization impossible.
| request.site.error_page_html |
Default message in english indicating that an error has occured. Included with this is a report of the error's Date & Time,Browser,IP address of the remote client,Page that request came from,Page being executed when the error occurred,URL parameters and Cold Fusion Error details. |
| cgi.server_name |
Uses this variable in subject heading of email |
|
server.admin_email server.info_email |
To and from email addresses used. |
-
Load Presto database-managed application structures if they don't already exist. This is done in presto/tags/setup/init_application.cfm.
<- ->
|