October 28, 2002
The ActionScript NetServices GetService() method is used to connect to a ColdFusion service. When using Flash Remoting to connect to ColdFusion Components (.cfc files) the service is the CFC file (minus the extension) and the methods are the ColdFusion Component functions. (Applies to: ColdFusion...
October 27, 2002
Flash Remoting is used to connect Flash on the client and ColdFusion on the server. Flash Remoting allows client side Flash ActionScript code to invoke ColdFusion code - either CFC methods of CFM files. (Applies to: ColdFusion MX)
October 26, 2002
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
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
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 23, 2002
To implement cookieless security (suitable for single requests only) use with a tag. (Applies to: ColdFusion MX)
October 22, 2002
Rather than create your own login form you can force the browser to display a login prompt. To do this set and set (naming the REALM). (Applies to: ColdFusion MX)
October 21, 2002
Need to restrict access by client domain? Use the COOKIEDOMAIN attribute to specify the domain (or sub-domain) granted access. (Applies to: ColdFusion MX)
October 20, 2002
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
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)