Computer Hope
Other => Other => Topic started 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. :)
-
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!
-
Greatly appreciated that will help me debug a lot easier. :)
-
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 !
-
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.
-
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.
-
I checked the page on my iTouch. Apparently I run Mac OS X.
-
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 :-\
-
Wait, so the browser is constantpy sending system information? How would a script recieve it?
-
using DHTML ::)
-
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).
-
heh, thanks for fleshing out my terse reply ;D.
-
Thanks Nathan! And BC, is DHTML Dynamic Hyper-Text Markup Language, or the D something else?
-
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.
-
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.
-
Oh, for some reason I thought we were talking about the Process Tool... :)