BrowserHawk IQ now available! Click here for the full scoop!
Search:
Problem calling GetExtPropertiesEx multiple times from same page
Created: 10/20/2001    Updated: 10/20/2001
Q   I'm trying to call the GetExtPropertiesEx method twice from the same page. But the results I am getting are not as expected. Why?

A   The GetExtPropertiesEx method can only be called once from the same script. If you need to test multiple properties, you need to use SetExtProperties to ask BrowserHawk to check for everything during the same test.

For example, assume you wanted to test screen size and Flash. You would use the following code:

This is the correct way
  bh.SetExtProperties "screen_size,Plugin_Flash"
  bh.GetExtPropertiesEx
This is the incorrect way
  bh.SetExtProperties "screen_size"
  bh.GetExtPropertiesEx
  bh.SetExtProperties "Plugin_Flash"
  bh.GetExtPropertiesEx

    FAQ Home  |  Search FAQ  |  Show New Items  |  Ask a FAQ  |  Notify Me  |  Most Popular     
 
 
Copyright © 1994-2020 cyScape, Inc. All Rights Reserved. ()
ASP, ASP.NET, ColdFusion MX, CFMX, JSP, PHP