Computer Hope

Other => Other => Topic started by: Computer Hope Admin on February 24, 2009, 11:35:06 PM

Title: Need user with 64-bit OS
Post by: Computer Hope Admin on February 24, 2009, 11:35:06 PM
If one of you happen to have access to a 64-bit system would you mind running the System Information (http://www.computerhope.com/cgi-bin/systeminfo.cgi) script. I happened to notice that some users have been talking about how this page is reporting 64-bit systems as 32-bit and that the JavaScript method is unreliable for 64-bit systems. Since I don't have access to a 64-bit machine for a while I'd appreciate the help. :)

Title: Re: Need user with 64-bit OS
Post by: BC_Programmer on February 25, 2009, 12:01:00 AM
OK-

I ran that script on my Vista Ultimate x64 laptop.

For reference I ran it on the four browsers I have installed- Firefox 32-bit, Minefield (64-bit FF) as well as both 64 and 32-bit versions of internet explorer.

Laptop:

Toshiba Satellite L300
4GB of RAM, Windows Vista Ultimate x64
Intel Pentium Dual Core T3200 @ 2.00 Ghz


32-bit firefox

everything seems correct here, except it reports my platform as win32.

64-bit firefox (Minefield)

Much to my surprise, it lists my platform as Win32 here, as well. Javascript version is still correct, as with all other information.

Internet  Explorer, 32-bit


This one made me do a double-take- it listed my browser as the 64-bit edition of IE- but double-checking the task-list confirmed it was "IEXPLORE.EXE*32", the 32-bit version. It also still listed my platform as Win32.

Internet Explorer, 64-bit

This one was completely accurate, as far as I can tell. CPU type x64, platform Win64. Not sure if it's an issue but it seems to believe that I have "windows Vista - 64-bit - Media Center Edition PC 5.0"

All plugin versions with each test seems accurate.

Hope this helps with testing :)- anymore info just ask!
Title: Re: Need user with 64-bit OS
Post by: Computer Hope Admin on February 25, 2009, 12:22:26 AM
Greatly appreciated that will help me debug a lot easier. :)
Title: Re: Need user with 64-bit OS
Post by: patio on February 25, 2009, 07:19:10 AM
Interestingly enough i am running Vista UltimateX64 also which i am letting time out on purpose for testing and it is reporting it as 32bit...
I just lost Aero as well....

Man they're gettin good !
Title: Re: Need user with 64-bit OS
Post by: Computer Hope Admin on February 25, 2009, 05:38:23 PM
Unfortunately I'm obviously going to have to rewrite this part of the code.  :( For those interested in programming / JavaScript or happen to stumble across this thread when searching I'm using the "window.navigator.platform", which is obviously not that great at detecting the browsers platform when under a 64-bit platform.

Thanks again for the help guys I'll let you know when I get this fixed.

Title: Re: Need user with 64-bit OS
Post by: Computer Hope Admin on August 05, 2009, 04:42:25 PM
Initially I was using Javascript navigator.platform function to pull the platform. Unfortunately I've found this is un-reliable and have yet to find a good solution for this. So I've decided to simply remove this from the script to help prevent confusion. Since this information does appear to come through reliably with Internet Explorer's User Agent the CPU Type for IE this portion will remain.
Title: Re: Need user with 64-bit OS
Post by: Helpmeh on August 05, 2009, 05:20:57 PM
I checked the page on my iTouch. Apparently I run Mac OS X.
Title: Re: Need user with 64-bit OS
Post by: BC_Programmer on August 05, 2009, 05:46:53 PM
I checked the page on my iTouch. Apparently I run Mac OS X.

not far from the truth... it is a Mac OS.


basically nathan has to rely on what the browser sends... chances are your browser is sending Mac OS X as the OSVersion. There really isn't a whole lot that can be done about that from script  :-\
Title: Re: Need user with 64-bit OS
Post by: Helpmeh on August 05, 2009, 07:05:44 PM
Wait, so the browser is constantpy sending system information? How would a script recieve it?
Title: Re: Need user with 64-bit OS
Post by: BC_Programmer on August 05, 2009, 09:08:17 PM
using DHTML  ::)
Title: Re: Need user with 64-bit OS
Post by: Computer Hope Admin on August 06, 2009, 12:45:22 AM
Wait, so the browser is constantpy sending system information? How would a script recieve it?

With exception to plugin information and some other information much of it is received through the user agent (http://www.computerhope.com/jargon/u/useragen.htm).
Title: Re: Need user with 64-bit OS
Post by: BC_Programmer on August 06, 2009, 08:52:52 AM
heh, thanks for fleshing out my terse reply  ;D.
Title: Re: Need user with 64-bit OS
Post by: Helpmeh on August 06, 2009, 02:56:37 PM
Thanks Nathan! And BC, is DHTML Dynamic Hyper-Text Markup Language, or the D something else?
Title: Re: Need user with 64-bit OS
Post by: kpac on August 06, 2009, 04:08:26 PM
Thanks Nathan! And BC, is DHTML Dynamic Hyper-Text Markup Language, or the D something else?
Yea, it is. But DHTML couldn't do that.
Title: Re: Need user with 64-bit OS
Post by: BC_Programmer on August 06, 2009, 07:44:49 PM
Yea, it is. But DHTML couldn't do that.

DHTML is javascript... it's just the name MS used for it when they first introduced the DHTML object model (the document object and so forth)... at some point I guess it became a standard.
Title: Re: Need user with 64-bit OS
Post by: kpac on August 07, 2009, 03:09:08 AM
Oh, for some reason I thought we were talking about the Process Tool... :)