Ben Forta

Blog

October 26, 2002

Obtaining the Actual File Path

Need the actual path to the CFM file being executed? Inspect the CGI.PATH_TRANSLATED variable which will contain the actual path after any logicial mappings have been processed. (Applies to: ColdFusion MX)

October 25, 2002

Search Engine Friendly URLs

Using Search Engine Friendly URLs (hiding the query string within text appended to the path)? This is a popular technique, and one that breaks when ColdFusion MX is installed. The solution is actually quite simple. Modify web.xml (it's in the web-inf directory under the web root) to add the...

October 24, 2002

Web Services Arguments

ColdFusion Component arguments are Web Service arguments. Simple, right? Not exactly, there is an important difference. CFCs can have optional arguments (set REQUIRED="no"), but those same arguments will actually be required when the CFC is accessed as a Web Service. If you really do need optional...

October 20, 2002

Specifying Login Timeouts

The default login timeout using the security framework is 30 minutes (1800 seconds). This value may be changed by passing a value (in seconds) to the IDLETIMEOUT attribute. (Applies to: ColdFusion MX)

October 19, 2002

Forcing a Logout

Need to force a logout before the timeout? Use the tag so that on the next request a login will be forced. (Applies to: ColdFusion MX)

October 18, 2002

Using HTTP Status Codes

ColdFusion can return HTTP status code 500 when an error occurs, but don't use this option on development machines (or if you ever want to see the actual error message text). The "Enable HTTP status codes" option is on the Settings page in the ColdFusion Administrator. (Applies to: ColdFusion MX)

October 17, 2002

Updating Web Services

Creating Web Services using ColdFusion CFC's? Great, until you try to update the definition of an existing Web Service (something you should not do too often). If ColdFusion throws errors that don't seem to make sense, you might need to remove the Web Service from the Active ColdFusion Web Services...

Page 413 of 490 (4893 posts)