Platform Detection

Results 1 to 2 of 2

Thread: Platform Detection

  1. #1
    David W Guest

    Default Platform Detection

    Hey, I&#039m trying to use ASP to detect what platform a visitor to my site is on. I know to use:<BR><BR>&#060;% Set bc = Server.CreateObject("MSWC.BrowserType") %&#062;<BR><BR>to set a variable "bc" and then I should be able to get the attributes with:<BR><BR>&#060;%= bc.platform %&#062;<BR><BR>My problem is that when I print those results Netscape for Windows, Netscape for Mac, and IE for Mac return "unknown" for the platform. How can I get this information?

  2. #2
    keith5g Guest

    Default RE: Platform Detection

    try the server variable:<BR><BR>Request.ServerVariables("HTTP_USE R_AGENT")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts