Ben Forta

Blog

September 7, 2002

Avoid Lists, Use Arrays

List processing is slow - there actually is no list data type in ColdFusion, lists are simply strings. Any list processing requires lots of string manipulation, and that is time consuming (even more so in ColdFusion MX). Lists were originally intended as a way to work with data like form fields and...

September 6, 2002

Implementing Access Control

The security framework in ColdFusion MX provides the foundation for implementing access control. To actually restrict access to specific functionality simply wrap the code in a statement checking for IsUserInRole(). (Applies to: ColdFusion MX)

September 5, 2002

Logging Out a User

Users are logged out of the security framework automatically when their SESSION expires. To force a manual logout use the tag. (Applies to: ColdFusion MX)

September 3, 2002

Getting User Login Details

Within a block, two variables in the CFLOGIN scope provide details about the logged in user. CFLOGIN.name contains the login name, CFLOGIN.password contains the login password. When not in a code block use the GetAuthUser() function to get this information. (Applies to: ColdFusion MX)

September 2, 2002

Providing Login Code

Any code specified in between and will be executed only if a user has not yet logged in, making it the right place for login code. (Applies to: ColdFusion MX)

August 31, 2002

Changing Page Properties

The quickest way to change page properties (including background color, title, margins, and more) is to use the Page Properties dialog. You can select this option from the Modify menu or just press Ctrl-J. (Applies to: Dreamweaver MX)

August 30, 2002

Web Services Made Simple

Using Web Services in your CFML code? makes the process easy, and Dreamweaver makes it even easier. You can add Web Services to Dreamweaver by selecting the Components tab in the Application panel and switching to the Web Services view, and then clicking the + button. Once you have provided the URL...

Page 417 of 489 (4885 posts)