keep password's content

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear reader,

how can I keep my password content when a postback occur?

I define an edit box in password textmode. but when a postback occur and my
page became refresh, its content would be empty. and I have to enter again.

what is the best solution to solve this problem?

Regards,
Monica
 
Monica said:
Dear reader,

how can I keep my password content when a postback occur?

I define an edit box in password textmode. but when a postback occur and my
page became refresh, its content would be empty. and I have to enter again.

what is the best solution to solve this problem?

Regards,
Monica

It is not possible to keep the value in a password field. The browser
will not let you set the value of a password field.
 
Try saving it in a cookie. Read the cookie when the page loads and see if it
is not null. If so, use it to restore the value the user typed.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top