Jan 27, 2014, 3:28 PM
[CLOSED] Browser remember-functionality for loginpage
Hi,
on most websites, if you login, the browser asks you if the password should be saved.
I am doing a extnet login page right now, and I am looking for a way to do that.
I have searched a bit around, and some people do it by saving username and password in a cookie, which is unsafe imho.
I am not sure how the browser decides whether to show the "save password" box or not.
I have found this:
Any idea how I can do that with extnet textboxes?
on most websites, if you login, the browser asks you if the password should be saved.
I am doing a extnet login page right now, and I am looking for a way to do that.
I have searched a bit around, and some people do it by saving username and password in a cookie, which is unsafe imho.
I am not sure how the browser decides whether to show the "save password" box or not.
I have found this:
to make the browser ask to store the password, user name and password boxes must be in a form and that form must be actually submitted. The submit button could return false from the onclick handler (so the submit does not actually happen).
to make the browser restore the previously stored password, the input boxes have to exist in the main HTML form and not be created through javascript dynamically. The form can be created with display:none.
to make the browser restore the previously stored password, the input boxes have to exist in the main HTML form and not be created through javascript dynamically. The form can be created with display:none.
Last edited by Daniil; Feb 04, 2014 at 11:35 AM.
Reason: [CLOSED]