Microsoft Knowledge Base Email Alertz

(311227) - This step-by-step article describes how to edit the Browscap.ini file to include Internet Explorer 6 information. This is necessary to detect Internet Explorer 6 if you use the BrowserType object in Internet Information Server (IIS) to detect browser...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 311227 - Last Review: July 13, 2004 - Revision: 3.3

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

This article was previously published under Q311227

On This Page

SUMMARY

This step-by-step article describes how to edit the Browscap.ini file to include Internet Explorer 6 information. This is necessary to detect Internet Explorer 6 if you use the BrowserType object in Internet Information Server (IIS) to detect browser versions from a script in a Web page. For additional information about how to use the BrowserType object to determine a browser version, click the article number below to view the article in the Microsoft Knowledge Base:
167820  (http://kbalertz.com/Feedback.aspx?kbNumber=167820/EN-US/ ) HOWTO: Determine Browser Version from a Script
NOTE: The following procedures are used by a member of the administrators group on the server that is running IIS.

Open the Browscap.ini File in Notepad

  1. On the server, click Start, point to Programs, Accessories, and then click Notepad.
  2. In Notepad, click Open on the File menu.
  3. Open the Browscap.ini file that is located in the %systemroot%\WINNT\System32\Inetsrv folder.

Text to Add to the Browscap.ini File

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IE 6.0

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

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

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

[Mozilla/4.0 (compatible; MSIE 6.0)]
parent=IE 6.0


[IE 6.0b]
browser=IE
Version=6.0
majorver=#6
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


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

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

[Mozilla/4.0 (compatible; MSIE 6.0b)]
parent=IE 6.0b
				


Copy and Paste Text Into the Browscap.ini File

  1. Copy the text from the preceding "Text to Add to the Browscap.ini File" section of this article. To do so, select the text, and then press CTRL+C.
  2. In Microsoft Notepad, paste the text that you just copied immediately after the "Internet Explorer 5" section, approximately at the middle of the Browscap.ini file.
  3. On the File menu, click Save, and then click Exit on the File menu.

APPLIES TO
  • Microsoft Internet Information Server 2.0
  • Microsoft Internet Information Server 3.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
  • Microsoft Internet Explorer 6.0
Keywords: 
kbenv kbhowtomaster KB311227
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate