Please help

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

Hi,

I have a login screen with a remember user checkbox. I am storing the Login
Information (UserName and Password) on the client machine using cookies. The
text boxes used to accept the username and password are both ASP server
controls. The TextMode property for the box accecpting password is set to
"password". I save the login information when the user checks the "remember
user" checkbox (using cookies) and retrieve this information every time he
tries to relogin(ie when the login page is requested ). The problem is that
the password cannot be displayed in the text box(TextMode set to "password")
as astrix and is seen as blank (Though it is correctly stored in the cookie
as seen using page level trace)

I am using Microsoft Development Environment 2002 version 7.0.9466 &
Microsoft.NET framework 1.0 version 1.0.3705

Any suggestions would be highly appreciated.

TIA,

Gary
 
An "input type=password" (which is NOT an "input type=text" textbox object)
HTML object can not have its' value persisted. This is a Security
consideration. What would be the point of requiring a password if ANY user
that opens that URL in the browser on the machine with the password stored
in a cookie doesn't have to type in the password?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.
 
Back
Top