Welcome to my ASP Code Website

Checking Script Version on ASP Server



If you're running an ASP server, you are using a scripting language to write your code in. How do you know what language and version your server is running?

It's really pretty simple. There are three variables that hold this information:

ScriptEngine - name of the scripting language
ScriptEngineMajorVersion - main version number of that language
ScriptEngineMinorVersion - update version of that language

So let's say you write a little ASP test script and all it has in it (besides the HTML and BODY and such) is:

<%=ScriptEngine%>


<%=ScriptEngineMajorVersion%>


<%=ScriptEngineMinorVersion%>



That will then kick out for you information such as:

VBScript
5
6

Since different versions of scripting languages can support different functions, it's always important to know what you are working with!

ASP Server Setup Information