We are currently using forms auth as follows: FormsAuthentication.SetAuthCookie(userId, rememberMe);
With that we can always get the user id. And we were able to get the user details when you need them using the user id.
With a web service call like
objRegisteredUser = CMembership.GetByLoginID(sLoginID);
We know need to upgrade the site with the new APIS service calls that require the users Password like this:
objRegisteredUser = CMembership.GetByLoginIDandPasword(sLoginID, sPassword);
For the "remember" me function, what would be the best way to remember the password?
Could we encrypt it, then store it in a cookie, then retrieve and decrypt?
We can't populate the new profile without the password.
Any suggestions?
Does storing password data, even encrypted go against best practices?