General discussion

Locked

Finding Internet users OS version & SP

By martin_louis ·
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

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Finding Internet users OS version & SP

by jasonu In reply to Finding Internet users OS ...

Do OSes besides Windows have Service Packs?

clientInformation.userAgent in JScript (assuming the user is using MSIE) tells you the OS (see http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_navigator.asp), but to find out the SP, my friend thinks you might be looking for an ActiveX control that can access the registry (once again, we are assuming Windows).

Proud father,
Jason

Collapse -

Finding Internet users OS version & SP

by martin_louis In reply to Finding Internet users OS ...

The question was auto-closed by TechRepublic

Collapse -

Finding Internet users OS version & SP

by pat.schmid In reply to Finding Internet users OS ...

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 9 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

Collapse -

Finding Internet users OS version & SP

by martin_louis In reply to Finding Internet users OS ...

The question was auto-closed by TechRepublic

Collapse -

Finding Internet users OS version & SP

by martin_louis In reply to Finding Internet users OS ...

This question was auto closed due to inactivity

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums