Browser ?

  • Thread starter Thread starter WJ
  • Start date Start date
never mind. got it from google. here is the code:

string sb=Request.Browser.Browser;

string bv=Request.Browser.Version;

string ax=Request.Browser.ActiveXControls.ToString();

string js=Request.Browser.JavaScript.ToString();

string ja=Request.Browser.JavaApplets.ToString();

string vb=Request.Browser.VBScript.ToString();
 
John, just wanted to point out that this will let you know if a
visitor's browser *supports* JavaScript, and not whether or not they
have JavaScript enabled or disabled in their browser.

--

Scott Mitchell
(e-mail address removed)
http://www.4GuysFromRolla.com

* When you think ASP.NET, think 4GuysFromRolla.com!
 
Back
Top