Ben Forta

Blog

August 9, 2001

The More Attributes The Better

Custom Tags are meant to be reused, the more they are used and reused the better. The key to creating reusable Custom Tags is making them highly dynamic by accepting all sorts of attributes, and the more attributes the better. Hard code nothing, but use to assign default values within the Custom...

August 8, 2001

Stronger Encryption and Decryption

Encrypt() and Decrypt() provide basic encryption and decryption of strings in ColdFusion. CFusion_Encrypt() and CFusion_Decrypt() return a 32 character hexadecimal string providing an even stronger encryption, but those two functions are undocumented, so use with caution. (Applies to: ColdFusion 5)

August 7, 2001

Using Friendly E-Mail Addresses

accepts e-mail sender and recipient addresses in the TO and FROM attributes respectively. If you specify an address in the standard format (name@domain) then that is what will be displayed in the recipients mail client. If you'd like to provide a friendly name (plain text name to be displayed...

August 6, 2001

Multiple Administrator E-Mail Addresses

Want to send ColdFusion admin e-mail to multiple recipients? The best way to do this is not in ColdFusion, but in your mail server. Define a mail group (containing the required recipients) and use that as the administrators e-mail address. (Applies to: ColdFusion All)

August 5, 2001

Scheduling Log Archiving

So as to keep log files manageable, ColdFusion can automatically archive them on scheduled intervals. If you use this option make sure to schedule archiving for when you anticipate lighter traffic. Performing this operation during peak traffic times will place unnecessary load on the server....

August 4, 2001

Using Full Checking Locking

ColdFusion Administrator supports three locking modes for some scopes (for example, APPLICATION). Using Full Checking all scope access is checked, and an error is thrown if no lock is used. But this option may only be used if locking by SCOPE. If you are locking by NAME you may not use this option,...

August 3, 2001

Special CLIENT Variables

CLIENT variables are one of the ColdFusion variable types that may be used to maintain client session state. In addition to any variables you create within the CLIENT scope, there are six variables that always exist: CFID contains the client ID, CFToken contains the client token, HitCount contains...

August 2, 2001

Generating Client Capability Specific Content

The most ambitious Web applications generate content designed specifically for the capabilities of the client computer - things like using the full browser size, and picking appropriate colors. How do they do this? By accessing special User Agent CGI variables, all of which begin with HTTP_UA. But...

August 1, 2001

JScript or VBScript?

ColdFusion Studio scripts may be written in both JScript (kind of like JavaScript) and VBScript. Is there a difference between them? Actually, yes there is. There are several methods (like GetImageSize()) that accept parameters passed by reference - something JScript cannot do. For these methods...

July 31, 2001

Testing VTOM Scripts

ColdFusion Studio (and indeed HomeSite) features a complete scripting environment that may be used to extend or modify the application as you see fit. Scripts are written in VBScript or JScript and are usually assigned to buttons for execution. But when you are testing your scripts configuring...

Page 457 of 489 (4890 posts)