Identifying Windows XP using ASP
I need to find out how browsers identify themselves in WinXP in the UserAgent header. For example, I would use the following to identify the operating system is NT
if (Instr(UA, "winnt") > 0) or (Instr(UA, "windows nt") > 0) then strOpSys = "Windows NT"
Can anyone help mw with the XP UserAgent? I am using Win2K at the moment.
XP identifies itself as "Windows NT 5.1".
Funny that Microsoft hails a .1 release as so great.
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461)
Last edited by Utopia; Sep 23, 2002 at 10:17.
Thanks chaps - that's just what I needed!
Nice and straightforward.