Checking Script Version on ASP Server

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!





RSS
Related Articles
Editor's Picks Articles
Top Ten Articles
Previous Features
Site Map





Content copyright © 2023 by Lisa Shea. All rights reserved.
This content was written by Lisa Shea. If you wish to use this content in any manner, you need written permission. Contact Lisa Shea for details.