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
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
- On the server, click Start, point to Programs, Accessories, and then click Notepad.
- In Notepad, click Open on the File menu.
- 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
- 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.
- 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.
- 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
| 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