i’m reading an old applicaiton which saved the users usernamea nd password as a cookie – as a “rememeber me” feature. What’s wrong with this approach, if anything?
i guess the password can be ferretted out if someone does a malicious javascript injection on one of the pages of the site, but any other security risk besides that?
You’re transmitting the password, in the clear, over the Internet with every HTTP request. If you’re not using SSL, there’s a risk of eavesdropping.