Installation guide
4.4.6.2 Wait Processing 
Index creation (spidering a web site or indexing a file collection) can take a long time, so 
BlueDragon adds an optional 
WAIT attribute to CFINDEX, which takes a boolean value 
(such as true or false) that defaults to true (or yes). 
If WAIT is 
true, processing of your CFML page will wait until the indexing operation is 
completed. If WAIT is set to false, processing continues immediately (as in ColdFusion) 
and the indexing is done on a background thread (a message is printed to 
bluedragon.log when the indexing operation is complete). 
Be aware that by specifying WAIT=”false”, it would be inappropriate to try in the same 
request to perform a 
CFSEARCH of the same collection. Setting WAIT to false is appropri-
ate only on pages that kick off the indexing of, rather than search against, a collection. 
The 
WAIT attribute only applies when the value of ACTION is Update, Refresh, or Purge. 
It is ignored for other 
ACTION values. 
The 
WAIT attribute is also available for CFCOLLECTION ACTION = "Create", with the 
same semantics described above. 
4.4.7 CFLOCK 
BlueDragon supports the full syntax and semantics of 
CFLOCK, but like CFMX does not 
always require the use of 
CFLOCK when accessing variables in the Session, Application, 
and Server scopes. BlueDragon manages concurrent access to these variable scopes inter-
nally. As in CFMX, you would still use 
CFLOCK to prevent “race conditions” where two 
templates or concurrent users of a given template might both try to update the same per-
sistent-scope variable at once. 
4.4.8 CFMAIL 
BlueDragon has added two new attributes to the 
CFMAIL tag to allow you to store sent 
mail in an IMAP server folder. In order to use these attributes you must first open a con-
nection to the IMAP server using the 
CFIMAP tag (see below). These two new attributes 
are used in conjunction with the existing 
CFMAIL attributes to send an email message and 
have it saved on an IMAP server: 
<CFMAIL IMAPCONNECTION="name" 
 IMAPFOLDER="fullfoldername" 
  ...> 
4.4.9 CFOBJECTCACHE 
CF5 introduced a new tag, 
CFObjectCache,with an available Action=”clear” attrib-
ute/value pair used to clear all cached queries for all pages and applications. BlueDragon 
supports this tag with an additional new attribute, 
CacheDomain, which allows you to 
name a server whose cache you wish to flush.  If you don't specify it, it will default to the 
one the request is processing. 
BlueDragon 6.1 CFML Compatibility and Reference Guide    19   










