Ben Forta

Blog

December 22, 2000

Retrying Failed Sent E-Mail

E-Mail messages generated using are placed in the SPOOL directory beneath the ColdFusion mail directory (usually C:CFUSIONMAIL). If messages cannot be sent then those failed messages are moved to the UNDELIVR directory (also under the ColdFusion mail directory). To force ColdFusion to try and...

December 21, 2000

Cookies and Redirection

Cookies cannot be set if a page is exited using redirection, so if you use in your code you cannot use . The best bet is to ensure that all cookies are set before the redirection page is reached. The only other solution is to generate a page that implements JavaScript based client side redirection....

December 20, 2000

Sharing ColdFusion Data With Other Development Platforms

Have an application that is part ColdFusion and part ASP? Have an existing C or Java based app that you want to extend with ColdFusion? WDDX can help by allowing you to share structured data between different development platforms and languages. You get the data sharing power of XML without having...

December 19, 2000

OnRequestEnd.cfm File Location

OnRequestEnd.cfm is used in conjunction with Application.cfm - if present it is automatically processed after your code (Application.cfm is processed before your code). Like Application.cfm, this file can be in the current directory or any directory above it, but there is a big difference in how...

December 18, 2000

Hiding Requests

is used to perform server-side HTTP processing (server to server). But some servers might not return the data you expect if they detect that the client is not a true browser. The solution? Make identify itself as something other than ColdFusion - you can do this with the USERAGENT attribute. For...

December 17, 2000

Looking for Application.cfm

Many developers wrongly assume the ColdFusion application server searches only to the Web server document root to locate an Application.cfm file. In fact, the server searches all the way up the directory tree to the root directory of the hard drive. As this is rarely the desired behavior you should...

December 16, 2000

Improving Verity Search Performance

Verity data is stored in collections - files that are updated whenever index information is updated. But updates fragment the collection, and fragmented collections take up significantly more disk space and can eventually slow the collection to the point of being unsearchable. The solution is to...

December 15, 2000

Restricting File Upload Type

The tag can be used to process user uploads, and also allows developers to restrict the upload MIME type. But these restrictions are processed after the file is uploaded, which does not makes for an intuitive and user friendly application. The solution here is to use client side JavaScript to...

December 14, 2000

Generating Paged To Be Saved

Generating a file that you want users to save (and not display)? Use to set the MIME type to "unknown", this will force the browser to display the "Save As" box. (Applies to: ColdFusion All)

December 13, 2000

and Periods

Many SMTP servers treat a line containing just a period (. and nothing else) as a message body terminator. When using be careful to never generate a line containing just a period. (Applies to: ColdFusion All)

Page 480 of 489 (4890 posts)