Author |
Topic |
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 08 May 2008 : 12:15:52
|
Sorry, I cut an "end if" off. I'll fix it.
OK, instructions repaired.< |
Edited by - Carefree on 08 May 2008 12:20:46 |
|
|
campinmom03
Junior Member
USA
190 Posts |
Posted - 08 May 2008 : 12:59:51
|
NP Carefree. Perfect now! Thank you. < |
Have a great day! Terry |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 09 May 2008 : 18:26:34
|
|
|
|
campinmom03
Junior Member
USA
190 Posts |
Posted - 10 May 2008 : 08:49:15
|
Nice! Thank you < |
Have a great day! Terry |
|
|
cadfhs
New Member
United Kingdom
77 Posts |
Posted - 11 May 2008 : 12:16:25
|
Thanks for all the enough, don't ask me where I gone wrong, copied and pasted the latest code, but mine is still showing IE6 instead of IE7.< |
|
|
Hermes
Junior Member
Croatia
113 Posts |
|
cadfhs
New Member
United Kingdom
77 Posts |
Posted - 13 May 2008 : 15:13:52
|
Would using Vista as the OS have anything to do with my IE6/IE7 problem?< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 13 May 2008 : 21:40:30
|
No, but there's a setting in the registry which "supposedly" will let Vista claim to be anything else. If you run regedit and browse to this path, there are three things to check:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent
On the right side, there may or may not be three string values:
Compatible: Since IE3, MS uses "Mozilla/4.0"
Platform: Windows NT 6 = Vista, 5.2 = 2003 Server, etc.
Version: MSIE 7.0 (bet you can guess....)
If the values are there, and do NOT match what you're running, then you've found the culprit.< |
Edited by - Carefree on 13 May 2008 21:42:14 |
|
|
cadfhs
New Member
United Kingdom
77 Posts |
Posted - 14 May 2008 : 15:15:22
|
Cheers Carefree I have checked my settings (although I get confused with Regedit) but it shows on the right side Name Type Data (Default) REG_SZ (Value not set)
< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 14 May 2008 : 17:12:10
|
That just means that no deliberate attempt was made to disguise your browser. The default settings are reg_sz (blank).< |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 18 June 2008 : 14:47:19
|
Given that FF3 is on the 'streets' does this UAgent detect the latest FF version? Quote from carefree earlier: for x = 1 to len(strUserAgent)-8 if mid(strUserAgent,x,8)="Firefox/" then strBrowser = "Firefox " & mid(strUserAgent,x+8,3) end if next< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 19 June 2008 : 15:56:52
|
Yes, it detects and reports it correctly.< |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 19 June 2008 : 16:12:12
|
Thank you< |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 10 April 2009 : 05:31:25
|
Here's an update to the user_agent detection (to support Google Chrome and to fix the incorrectly reported Macintosh operating system due to Chrome's odd agent string). Just replace the function in your "active_users.asp". |
|
|
Andy Humm
Average Member
United Kingdom
908 Posts |
Posted - 01 August 2009 : 06:43:38
|
Knowing that IE8 and Windows 7 are on the streets, has there been an addition to the user_agent/browser detection that will display if a user has these new environments? |
|
|
Topic |
|