Ask Ben: Checking The ColdFusion Version

Posted July 14, 2006 at 2:44 PM

Tags: ColdFusion, Ask Ben

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."

 Launch code in new window » Download code as text file »

  • <!--- 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 />

Download Code Snippet ZIP File

Comments (0)  |  Post Comment  |  Ask Ben  |  Permalink  |  Other Searches  |  Print Page




Reader Comments

There are no comments posted for this web log entry.


Post Comment  |  Ask Ben


Home   |   Web Log   |   ColdFusion   |   Projects   |   Resume   |   Job Form   |   Search   |   Contact
Epicenter Consulting - Custom Software Solutions for Business Evolution HostMySite.com - The Leader In ColdFusion Hosting