Detect Operating System Service Pack

G

Guest

Dear Support,

I'm not an ASP programmer, however so far by searching the web, I have
created this working code:

<html>
<body>
<p>
<p>
<b>School IP address:</b>
<%Response.Write(Request.ServerVariables("remote_addr"))%>
</p>
<b>Browser:</b>
<%= Request.Browser.Browser %>
</p>
<b>Browser Version:</b>
<%= Request.Browser.Version %>
</p>
<b>ActiveX Controls Enabled:</b>
<%= Request.Browser.ActiveXControls %>
</p>
<b>Operating System:</b>
<%= Request.Browser.Platform%><br>
</body>
</html>

Which detects IP, Browser, Browser Version and OS. How can I detect the OS
Service Pack which is installed? Thank you!
 
M

Michael M.

This is what the CGI "http_user_agent" returns for my XP SP2 system.

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322;
..NET CLR 2.0.50727; .NET CLR 3.0.04506.30)

So it does not look like you can retrive this using "server side" code.

The information you are picking up is only what the browser chooses to pass
on when it makes a request to the server. I guess with Web servers / web
developers browser version and .Net framework version is more important than
the service pack level of OS.

Mike.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top