Microsoft KB Archive/826905

= HOW TO: Add Internet Explorer 5.5 Information to the Browscap.ini File =

Article ID: 826905

Article Last Modified on 9/24/2003

-

APPLIES TO


 * Microsoft Internet Explorer 5.5
 * Microsoft Internet Information Services 5.0
 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Server 3.0
 * Microsoft Internet Information Server 2.0

-





IN THIS TASK

 * SUMMARY
 * Open the Browscap.ini File in Notepad
 * Add Text to the Browscap.ini File
 * REFERENCES



SUMMARY
This step-by-step article describes how to edit the Browscap.ini file to include Internet Explorer 5.5 information. If you use the BrowserType object in Internet Information Server (IIS) to detect browser versions from a script in a Web page, the Browscap.ini file must contain the Internet Explorer 5.5 information.

For additional information about how to use the BrowserType object to detect a browser version, click the following article number to view the article in the Microsoft Knowledge Base:

167820 HOWTO: Determine Browser Version from a Script

Note To make changes to the Browsecap.ini file, you must be a member of the administrators group on the server that is running IIS.

back to the top

Open the Browscap.ini File in Notepad
To open the Browsecap.ini file in Notepad, follow these steps:  On the server, click Start, point to All Programs, point to Accessories, and then click Notepad. In Notepad, click Open on the File menu. Open the Browscap.ini file that is located in the following folder:

%systemroot%\WINDOWS\System32\Inetsrv



back to the top

Add Text to the Browscap.ini File
  Copy the following text. To do so, select the text, and then press CTRL+C: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 5.5 [IE 5.5] browser=IE Version=5.5 majorver=5 minorver=5 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

[Mozilla/4.0 (compatible; MSIE 5.*; Windows 95*)] parent=IE 5.5 platform=Win95 beta=True

[Mozilla/4.0 (compatible; MSIE 5.*; Windows 98*)] parent=IE 5.5 platform=Win98 beta=True

[Mozilla/4.0 (compatible; MSIE 5.*; Windows NT*)] parent=IE 5.5 platform=WinNT beta=True

[Mozilla/4.0 (compatible; MSIE 5.*; Windows 2000*)] parent=IE 5.5 platform=Win2000 beta=True

[Mozilla/4.0 (compatible; MSIE 5.*)] parent=IE 5.5  In Notepad, paste the text that you just copied in step 1 immediately after the &quot;Internet Explorer 5&quot; section, approximately at the middle of the Browscap.ini file.</li> On the File menu, click Save, and then click Exit on the File menu.</li></ol>

back to the top

<div class="references_section">