Detecting Client's scripting support

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Austin Rathe (austin_at_gametart.com)
Date: 10/20/04


Date: Wed, 20 Oct 2004 11:00:39 -0700

Dear All,

I need to be able to detect, server side, if the client machine using my
ASP.NET web app supports Javascript. I know there are browser object
properties that tell me if the client browser *in principle* supports
javascript, but as far as I can tell they don't tell you if the user has
disabled scripting manually.

I have seen sites using PHP that can do this, but I can't see how to do
it in .NET. Any ideas?

All help much appreciated.

Austin Rathe

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: Location of original file uploaded via html form
    ... form on the client machine. ... Not in plain PHP, but you could add a hidden input field, into which you ... hope that the users using your form will have the javascript enabled. ...
    (alt.php)
  • Re: Checkboxes
    ... First of all, forget Javascript. ... Most people using PHP only use JS ... works if JS is turned off on the client machine. ... not in response to an on screen event. ...
    (comp.lang.php)
  • Re: OOT: Javascript (Re: OT: Stargazing)
    ... make the user-experience on the client machine better in ... Javascript is used in a lot of places where it is not needed (menus, ... I use Javascript on my web pages to display my e-mail addressfor Mailto: ... mainly in the interest of saving bandwidth, but also to avoid malicious code. ...
    (alt.usage.english)
  • OOT: Javascript (Re: OT: Stargazing)
    ... "professional" web site will have some Javascript going to ... make the user-experience on the client machine better in ... Javascript is used in a lot of places where it is not needed (menus, ...
    (alt.usage.english)
  • Re: Detecting Clients scripting support
    ... If the client is NOT supporting JavaScript, ... "Austin Rathe" wrote in message ... I know there are browser object ...
    (microsoft.public.dotnet.framework.aspnet)