Whatever message this page gives is out now! Go check it out!

Using server variables

Last update:
May 18, 2026
Note:
Place code that uses server variables inside cflock_ tags in circumstances that could result in race conditions from multiple accesses to the same variable. You do not have to lock access to built-in server variables._
ColdFusion provides the following standard built-in read-only server variables:
server.coldfusion
<cfscript>

    val=server.coldfusion

    writeDump(val)

</cfscript>
VariableDescription
InstallKitThe OS on which ColdFusion is installed.
appserverThe application server that ColdFusion is running on, for example, Tomcat.
expirationThe expiration date of ColdFusion license.
productlevelIndicates if ColdFusion on your machine is Developer or Enterprise.
productnameColdFusion server.
productversionThe ColdFusion version that is currently running.
rootdirDirectory under which ColdFusion is installed, such as C:\<cfhome> or /opt/<cfhome>/cfusion .
supportedlocalesThe locales, such as English (US) and Spanish (Standard), supported by the server.
updatelevelThe current update (hotfix) level applied to the installed version of ColdFusion.
<cfscript>

    val=server.os

    writeDump(val)

</cfscript>
VariableDescription
additionalinformationThe OS on which ColdFusion is installed.
archThe processor architecture, such as x64 or ARM.
buildnumberThe expiration date of ColdFusion license.
nameThe name of the OS where ColdFusion is running.
versionThe version of the OS.
<cfscript>

    val=server.system.environment

    writeDump(val)

</cfscript>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page