quote:Originally posted by localhost
The new browser Netscape 7.1 is not recognized:
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Here is the fix
In class.asp change
Dim aryTemp(14,1)
to
Dim aryTemp(15,1)
Next add
[code]aryTemp(15,0)="Netscape 7.1"
aryTemp(15,1)="^Mozilla/5\.\d \(.*(rv:\d\.\d).*\) Gecko/\d{8} Netscape/7(\.\d{1,2}){1,2} .*$"
[/code]
In the GetBrowserArray function
I am not able to determine if the Mozilla 1 in array 14 is overwritten, but it detects my NetScape 7.1
User Agent Netscape 7.1
It should be but its not detecting because of the (ax) at the end of the user agent. I guess I will have to add that.
Regards,
~Chad
User Agent Netscape 7.1
quote:Originally posted by localhost
The new browser Netscape 7.1 is not recognized:
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Here is the fix
In class.asp change
Dim aryTemp(14,1)
to
Dim aryTemp(15,1)
Next add
[code]aryTemp(15,0)="Netscape 7.1"
aryTemp(15,1)="^Mozilla/5\.\d \(.*(rv:\d\.\d).*\) Gecko/\d{8} Netscape/7(\.\d{1,2}){1,2} .*$"
[/code]
In the GetBrowserArray function
I am not able to determine if the Mozilla 1 in array 14 is overwritten, but it detects my NetScape 7.1