Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default password vs. text

    Hello,

    I have a single line input box and when it is set to "password" the value in
    it dissapears during form submits, but persists when simply set to "text".

    How do I set and or persist the PASSWORD field?

    thanks for listening.

    M



    Matthew C Guest

  2. Similar Questions and Discussions

    1. How to secure database password? (was Perl/DBI newbie: password storage / security question)
      Zedgar, You are chasing the yourself into circles. Security is dictated by circumstances and resources available. In our case, we had plenty of...
    2. How to secure database password? (was Perl/DBI newbie: password storage / security question)
      Hello, Many thanks to R. Joseph Newton, Motherofperls, essential quint and Chuck Fox for answering my questions, however it is still not what I...
    3. How to secure database password? (was Perl/DBI newbie: password stora...
      The only solutions I've discovered is: ( for less secure tables) 1. Crypt the password 2. Put it into directory not in the public domain 3. Set...
    4. Connecting to MySQL without storing password in clear text
      In article <20030913005411.2b5c2365.ian@WINDOZEdigiserv.net>, Ian.H 's output was... Or, if you have a webhost who don't give you any space which...
    5. Password TextBox VeiwState Text
      Why Password Textbox do not Save VeiwState doing Refreshing of page and how do I accomplish this?
  3. #2

    Default Re: password vs. text

    My understanding it's how browsers work.
    They do not allow to set value for <input type="password">


    George.

    "Matthew C" <dotnet@noveris.com> wrote in message
    news:X_0La.67849$Io.6356851@newsread2.prod.itd.ear thlink.net...
    > Hello,
    >
    > I have a single line input box and when it is set to "password" the value
    in
    > it dissapears during form submits, but persists when simply set to "text".
    >
    > How do I set and or persist the PASSWORD field?
    >
    > thanks for listening.
    >
    > M
    >
    >
    >

    George Ter-Saakov Guest

  4. #3

    Default Re: password vs. text

    Hi

    This is one way
    <input name="sPassword" ID="sPassword" type="password"
    value="<%=strPassword%>">

    You could also send a script(JavaScript) to the client to set the password

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "Matthew C" <dotnet@noveris.com> wrote in message
    news:X_0La.67849$Io.6356851@newsread2.prod.itd.ear thlink.net...
    > Hello,
    >
    > I have a single line input box and when it is set to "password" the value
    in
    > it dissapears during form submits, but persists when simply set to "text".
    >
    > How do I set and or persist the PASSWORD field?
    >
    > thanks for listening.
    >
    > M
    >
    >
    >

    Vidar Petursson Guest

  5. #4

    Default Re: password vs. text

    Hi

    No password element is NOT read only
    example
    <input type="password" onfocus="this.value='yadda'">

    but input type="file" is read only

    --
    Best Regards
    Vidar Petursson
    ==============================
    Microsoft Internet Client & Controls MVP
    ==============================
    "George Ter-Saakov" <we@hotmail.com> wrote in message
    news:u$LzeOOPDHA.452@TK2MSFTNGP11.phx.gbl...
    > My understanding it's how browsers work.
    > They do not allow to set value for <input type="password">
    >
    >
    > George.
    >
    > "Matthew C" <dotnet@noveris.com> wrote in message
    > news:X_0La.67849$Io.6356851@newsread2.prod.itd.ear thlink.net...
    > > Hello,
    > >
    > > I have a single line input box and when it is set to "password" the
    value
    > in
    > > it dissapears during form submits, but persists when simply set to
    "text".
    > >
    > > How do I set and or persist the PASSWORD field?
    > >
    > > thanks for listening.
    > >
    > > M
    > >
    > >
    > >
    >
    >

    Vidar Petursson Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139