I don't have access to our server's cold fusion administrator. How can I tell what version of cold fusion we are running?
Checking your ColdFusion version could not be easier. All you have to do is dump out the SERVER scope. The version of ColdFusion is contained in a field titled "ColdFusion.ProductVersion." You should see a number like 7,0,1,116466. Additionally, the type license type of the system (ex. enterprise, developer, etc.) is in a field titled "ColdFusion.ProductLevel."
<!--- Dump out the server scope. ---> <cfdump var="#SERVER#" /> <!--- Store the ColdFusion version. ---> <cfset strVersion = SERVER.ColdFusion.ProductVersion /> <!--- Store the ColdFusion level. ---> <cfset strLevel = SERVER.ColdFusion.ProductLevel />
Want to use code from this post? Check out the license.