Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Browser Capabilities Problem
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Browser Capabilities Problem
Miscellaneous
Thread ID:
00708981
Message ID:
00708981
Views:
55
I am trying to detect if a user's browser has JavaScript and or Cookies Enabled/Disabled. The Browser Capabilties component tells you if the user's browser supports JavaScript or Cookies but does NOT tell you if the user has these settings turned on or off.

This is the very basic code I have:

HttpBrowserCapabilities bc;
string s;
bc = Request.Browser;
s = "Browser Capabilities" + "\n";
s += "Name = " + bc.Browser + "\n";
s += "Version = " + bc.Version + "\n";
s += "Supports Cookies = " + bc.Cookies + "\n";
s += "Supports JavaScript = " + bc.JavaScript + "\n";

Does anyone know how to get this info? I can obviously tell if the user's browser is capable of support for these functions but don't know if what state the user's setting's are in?

Basically bc.JavaScript and bc.Cookies are always TRUE for modern browsers but I need more info than that.

Any help would be useful...Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform