Category: Membership

“Hashed passwords cannot be decoded.”

While working with C#.Net and ASP.Net memberhsip I get the following error: “Hashed passwords cannot be decoded.” when using the following line: string tempPassword = Membership.Provider.GetPassword(userName, “”); How can I resolve this issue?

Continue reading

What is the best way to redirect a user to the login page?

If I wanted to redirect the user to the login page for some reason (either they are not logged in or we sign them out automatically) what would be the best way to redirect them there? I can manually do a Redirect but I am sure there is probably a more integrated method to do …

Continue reading