Ben Forta

Blog

December 17, 2002

Improving Web Service Invocation Performance

If you make multiple requests to a Web Service you can improve performance by not making ColdFusion set up and prepare the connection repeatedly. How? Instead of using use CreateObject(), this way ColdFusion maintains Web Service information in a variable that can be used repeatedly. And you can...

December 16, 2002

Clustering Session Variables

If you need to share session data across a cluster then you must use CLIENT variables. Right? Wrong! CLIENT variables can indeed be shared, but if you are using ColdFusion for J2EE (and J2EE managed SESSION variables) then SESSION variables can be clustered too. There is one gotcha however,...

December 15, 2002

Enabling White Space Suppression

ColdFusion MX for J2EE does not have a checkbox for enabling white space suppression. This is an oversight, the option is actually supported, it is just not exposed in the Administrator. The solution? Edit the configuration file directly. Here's what you need to do: 1) Stop ColdFusion. 2) Open the...

December 14, 2002

CreateObject() Web Service Invocation

Web Services are invoked using . Right? Not necessarily. ColdFusion MX will actually allow you to invoke Web Services using CreateObject() using the syntax CreateObject("webservice", "wsdl") (replacing "wsdl" with the wsdl URL). CreateObject() returns and object allowing you to invoke methods using...

December 13, 2002

"Any" Can Be Anywhere

If you are using / the order of the blocks does not matter - ColdFusion will find the best fit. This is unlike earlier versions of ColdFusion where "any" had to be the last block (or it would catch all errors). (Applies to: ColdFusion MX)

December 12, 2002

A Stricter

If you are using then you should never have code that is in the block but not in a or . ColdFusion 5 allowed this (mistakenly) and ColdFusion MX no longer permits this (although you should never have been doing it anyway). (Applies to: ColdFusion MX)

December 11, 2002

Deprecated

The has been deprecated as ColdFusion MX now has far better (and more open) ways of interacting with Java code. (Applies to: ColdFusion MX)

December 10, 2002

Accessing Secure Pages Using

can be used to access secure pages (using https instead of http) by simply prefixing the URL with "https". By default port 443 will be used (alternate ports may be specified if needed). (Applies to: ColdFusion 4 and later)

December 9, 2002

Lock While Managing Collections

is used to manage Verity collections. When using this tag (except perhaps to list available collections) use to protect the collection from other access. (Applies to: ColdFusion MX)

Page 407 of 489 (4885 posts)