g
Printer Friendly Version

editor  
BellaOnline's ASP Editor
 

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!

This site needs an editor - click to learn more!

ASP Site @ BellaOnline
View This Article in Regular Layout

Content copyright © 2013 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 Editor Wanted for details.



| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2013 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor