martedì, maggio 15, 2007

Classic ASP: How to determine the version of IIS

<%

    response.write(Request.ServerVariables("SERVER_SOFTWARE"))

    ' returns "Microsoft-IIS/4.0" for IIS 4.0 + ASP 2.0

%>