You must Sign In to post a response.
  • Category: ASP.NET

    How call this javascript hidden field call behind code in

    I want javascript hidden field values in behind code, because
    now a day we going software audited. I can use hidden field but
    he can clear text values.

    function InitializeRequest(path) {
    // call server side method
    var pwdhfld = document.createElement("INPUT");
    pwdhfld.type = "hidden"; = "t";

    pwdhfld.value = path;

  • #765616
    What you want to do ? do you want to secure your hidden field or what ?
    Hidden fields are insecure (not dependent on browser). But you can encrypt the data, to secure it, Never go for storing important info in the hidden varialbes, see below code

    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • Sign In to post your comments