Determine if the Web Browser is Running on a MacIntosh

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Beginning
Author:
Intelligent Solutions Inc.

Version Compatibility: ASP

More information:
If you need to determine exactly which browser/OS a client web browser is using, you will need to implement a sophisticated browser sniffer. However, if you are in an environment where the user could either be coming from a PC or a Mac, you can use this simple function to detect which one it is.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: