Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$txtUserId="<hkjgh").>

A potentially dangerous Request.Form value was detected from the client (ctl00$ContentPlaceHolder1$txtUserId="<hkjgh").>

Scheduled Pinned Locked Moved ASP.NET
securityhelpworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amit sahu20
    wrote on last edited by
    #1

    hi i got an error on entering text eg: i got an error Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

    L 1 Reply Last reply
    0
    • A amit sahu20

      hi i got an error on entering text eg: i got an error Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

      L Offline
      L Offline
      l laxmikant
      wrote on last edited by
      #2

      set the pages attribtes validaterequest to false in config gile

      A 1 Reply Last reply
      0
      • L l laxmikant

        set the pages attribtes validaterequest to false in config gile

        A Offline
        A Offline
        amit sahu20
        wrote on last edited by
        #3

        hi than x i wanna some java script code that prevent such entry eg < i don't want to set Request validation = false i set set Request validation = false in an registration form then i will be very long work for me to reconvert it in different forms

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups