While supporting folks using BlueDragon, I often find it useful to determine what version they're running. While there is info reported in the debugging info (if enabled) and in the admin console, and even the Server.BlueDragon and Server.ColdFusion structures (which you can dump, of course), it's sometimes hard to equate engine revision numbers (like 6,1,0,226) to familiar names (like "6.1 Beta 3").
So I offer the following set of CFML code that you can drop into your server and run to find out what version you're running. It will even tell you if you're running CF, which could happen if you've entered the wrong port number or configured your web server adapter in a way you didn't expect.
Just place your cursor in the textarea below and press Ctrl-A to select it all, then Ctrl-C to copy it to the clipboard, to paste into your favorite CFML editor. Call it Getver.cfm, if you like. Just note that it will likely change in the future, so be sure to come back and check for updates. I'll note any changes here and in a revision log in the code below.
Last revised 5/17/04 - updated to reflect new Release Candidate 3 (preview) build
My previous post was cut. It should be:
cfdump var="#server#" will also give you the version number.
David
Yes, that's true, David, but for completeness I'd like to point out that I
did indicate that in the blog entry, when I said it could be found in "the
Server.BlueDragon and Server.ColdFusion structures (which you can dump, of
course)"
More important, I do need to update this code to reflect the latest production release (though this code is a bit less important now than it was back during the beta phase). I'll get to it next week.