NOTE: I am in the process of moving my blog to this new system. Thus, it should be noted that this entry was originally posted on 6/9/08.
In my blog post about ColdFusion System Properties I explain a way to gather information about your server using the java.lang.System classes. Well, after a little hunting you can grab most of this information easier by using the ColdFusion server variables. For example, dumping the server.coldfusion variable returns the following structure:
And the server.os variable returns this structure:
Just what I needed and I didn’t have to use Java. Which is faster and less lines of code.


Latest Comments