Discussion Locked

Finding Internet users OS version & SP

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is it possible to find out the SP(service pack) of the OS(Operating system) of a internet user visiting your website.
I need this info for customizing messages for the user.
Any help is much appreciated.

Regards
Martin

5 replies

by pat.schmid

To answer the other gents questions, yes other OS have service packs, such as AS/400.

Anyway, Neither HTTP nor HTML by itself will answer the question, it will require client side scripting and perhaps an ActiveX module that has to be installed on the client computer.

At best, the HTTP header lists the User Agent (browser version). For IE5 this sting also returns the Windows OS (such as Windfows NT or Windows 98) but not the service pack.

For MS Windows NT, you want to access the Registry. Specifically you want to read the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WIndows NT\CurrentVersion\CSDVersion which returns the Service Pack. And this is were the rub comes in.

While still learning, I amm not aware of any VBScript, JScript,Java, C++ or VB objects that can be accessed from an ASP that will return this information. I think you will need a program that is installed on the client machine to determine this. The code will need to be different for Macs, Unix, Linux, Windows 3.1, Windows NT, et

This discussion is closed to new replies.