Identifies the Web server you are running.
PSServerClass object
psServer.Type( )
String
At runtime, Type gets the name of the Web server software from the SERVER_SOFTWARE server environment variable.
The following example tests to see which Web server is running and performs platform-specific logic that varies depending on the outcome of the test:
servertype = psServer.Type( );
if (servertype == "Microsoft-PWS") {
// Perform platform-specific logic
}
if (servertype == "Apache Tomcat") {
// Perform platform-specific logic
}
if (servertype == "Jaguar Server") {
// Perform platform-specific logic
}