Installation guide
3.4 SERVER Variables
For BlueDragon, the variable Server.ColdFusion.ProductName returns the value
“BlueDragon” and Server.ColdFusion.ProductLevel returns a value indicating the
BlueDragon product installed (such as “Server JX”). For BlueDragon 6.1, the
ProductVersion variable returns the value "6,1,0,xxx" where "xxx" is the internal build
number; for example: 6,1,0,237.
BlueDragon also offers its own scope,
Server.BlueDragon, with the following vari-
ables:
Server.BlueDragon.Edition identifies the edition:
6 - BlueDragon Server (FREE edition)
7 - BlueDragon Server JX
8 - BlueDragon/J2EE
9 - BlueDragon for .NET
Server.BlueDragon.Mode identifies the license mode:
0 – development
1 - evaluation (time-limited)
2 - full production
As in CF5 and CFMX, these pre-defined
Server scope variables are read-only.
3.5 Client and Cookie Variables After Flush
After using CFFLUSH, if you try to set a cookie (or a client variable stored in a cookie),
ColdFusion gives no error but does not send the cookie to the client (or set the value of
the client variable). BlueDragon, on the other hand, will throw an exception (since, as
with CFMX, you cannot use tags that modify the HTTP header after performing a
CFFLUSH). For more on page flush (buffering) behavior in BlueDragon, see Section 4.4.4.
3.6 CFTOKEN Value
Both ColdFusion and BlueDragon support cookie variables named CFID and CFTOKEN,
which are used as identifiers for maintaining client and session variable state (unless
“J2EE Sessions” are enabled) for each user.
Where ColdFusion uses a simple 8-digit string of numbers for
CFTOKEN, BlueDragon uses
a much longer 35-character string of random numbers. This is similar to CFMX’s option
of enabling CFTOKEN as a UUID. The longer string improves security by making it much
harder for a client to spoof valid
CFID/CFTOKEN values and access another user’s
session/client variables.
Note that if the
CFID and CFTOKEN cookies are already set for a given client/browser from
their having visited a ColdFusion site, the
CFTOKEN values will not reflect this behavior.
BlueDragon 6.1 CFML Compatibility and Reference Guide 5