[Hai-users] HAI and IE7

Don Thimsen Don at DTSsoftware.com
Mon Oct 30 11:16:47 CST 2006


To get the new IE7 browser to work with Web Link II running on my Window
XP system
required two changes:

1) In the global_asp.js member look for Function getBrowserFob().  I
added
the case IE7 condition.

	switch(oBrowser.browser + oBrowser.majorver)	
	{
            case "IE7":
            case "IE6":
		case "IE5":
			szFOB = "ie";	// latest version of IE


However, this didn't immediately solve the problem.  Unfortunately,
my windows xp webserver returned "Netscape4" from the 
"oBrowser.browser + oBrowser.majorver" request.

4) After some googling, I found that webserver has an .ini file that
takes the browser id string passed by the brower client.  For IE 7.0
the ID looks like:

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727)

To get Windows XP to work, I had to modify
c:\windows\system32\inetsrv\browscap.ini.
The section for IE 7.0 was for "beta" and the entry was limited to
Windows NT 6
systems.  I replaced the following entry:


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 7.0
[Mozilla/4.0 (compatible; MSIE 7.*; Windows NT 6.0*)]
browser=IE
Version=7.0
majorver=#7
minorver=#0
frames=True
tables=True
cookies=True
backgroundsounds=True
vbscript=True
javaapplets=True
javascript=True
ActiveXControls=True
Win16=False
beta=True
AK=False
SK=False
AOL=False
Update=False


with a more generic entry for IE 7 that looks like this:


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 7.0
[IE 7.0]
browser=IE
Version=7.0
majorver=#7
minorver=#0
frames=True
tables=True
cookies=True
backgroundsounds=True
vbscript=True
javaapplets=True
javascript=True
ActiveXControls=True
Win16=False
AK=False
SK=False
AOL=False
Update=False

[Mozilla/4.0 (compatible; MSIE 7.0; Windows NT*)]
parent=IE 7.0



HTH,
Don

-----Original Message-----
From: hai-users-bounces at tssi.com [mailto:hai-users-bounces at tssi.com] On
Behalf Of Byron Peebles
Sent: October 30, 2006 6:13 AM
To: hai-users at tssi.com
Subject: [Hai-users] HAI and IE7

Can anyone confirm that the HAI Internet Explorer-based software
(Web-Link) works properly with the new IE7 releases?

Thanks!

_______________________________________________
HAI-users mailing list
HAI-users at tssi.com
http://romaine.tssi.com/mailman/listinfo/hai-users



More information about the HAI-users mailing list