| ColdFusion MX Documentation |
|
|
|
What is ColdFusion MX?
The ColdFusion development environment makes it easy for you to build dynamic Web sites and Internet applications. With ColdFusion, you can develop a site or application that pulls data from a content database and then use templates to dynamically create Web site pages using the content stored in your database. ColdFusion is often used to build ecommerce sites. ColdFusion enables you to perform tasks such as: • Query existing database applications for data. ColdFusion includes ColdFusion Studio, which you can use to design and develop your templates, and ColdFusion Server, which interacts with relational databases and serves the Web pages to your users. ColdFusion Server is what 2020Media provides to you. How to create a ColdFusion websiteBecause ColdFusion integrates its code (CFML) with standard HTML code, you can use any standard Web development application or a text editor to develop your templates. However, if you plan on building a large or complex site, you may find it helpful to use ColdFusion Studio. VersionsWe offer Coldfusion MX Professional, Macromedia's latest version as at 2002/2003. We also have legacy support for ColdFusion 4.51 and this will be phased out in 2003. CFMX is run on Windows and CF 4.51 is hosted on Linux. DatabasesMySQL is offered as standard with CFMX. You can also use Access at no charge, or upgrade to Microsoft SQL server at additional cost. Contact 2020Media Sales for details. ColdFusion supports both DSN and DSN-less connections. ColdFusion variable settingsThe default setting (and maximum value) for session variables is 20 minutes. CFHTTP workaroundThe CFHTTP tag does not work as described in the ColdFusion Manual due to security restrictions in a shared environment. Specifically, if the METHOD attribute is set to "GET" then the #CFHTTP.FileContent#variable cannot be used to retrieve data extracted with CFHTTP. You can work around this problem by using the PATH and FILE attributes to specify where the file should be created. Instead of using the CFHTTP.FileContent variable, read the downloaded file using CFFILE tag from the location specified in the CFHTTP PATH attribute. You may want to use a special directory for the PATH to these temporary files, as you will need to grant write access to the directory. Using CFQUERY to access an ODBC DSNOnce you have created an ODBC Data Source Name for your database, you can use CFQUERY: <CFQUERY Name="myqueryname" DATASOURCE="DSNName" USERNAME="username" PASSWORD="password"> Sending an email from your applicationTo send an email from a ColdFusion application, you use the CFMail tag. The following sample code illustrates how you can send a confirmation email to a visitor:
<CFMAIL to="#ContactEmail#" from="From Email" Subject="The Subject"> RDS (Remote Development Services)When discussing ColdFusion, RDS stands for Remote Development Services. Because RDS is not designed for a shared hosting environment, it presents a high security risk and is not enabled on 2020Media's shared servers Coldfusion TagsWe can install custom tags by arrangement and approval by our technical support team. You can place your custom ColdFusion tags (.cfm) in any directory under your /www directory. Once you have uploaded your files, you will need to use the CFMODULE tag to specify the location of your .cfm tags. If you call custom CFM tags directly, the custom tag must be placed in the same directory as the calling template. We support both CFX and CFFILE tags by default. Can I use ColdFusion in conjunction with ASP?Yes you can, but we do not offer technical support for ASP if you have purchased a ColdFusion package. You will need to order an ASP hosting package to gain technical support "Data Source Not Found" error.If you are receiving this error, make sure that you have created the DSN. You should also check for any spelling errors. "File Not Found" error.This error indicates that the ODBC driver can not find the file in the location it expected. To try and resolve this problem, perform the following steps: • Ensure that you have created the data files. |
| < Prev | Next > |
|---|
| Hosting |
| Domains |
| Servers |
| Connectivity |
|
||





