I've always hated this area of coding PHP pages. I have a project that I have worked on for a while and I currently create two cookies, one that stores the User Id and one that stores the MD5 password. Before you laugh, my site has nothing remotely important and doesn't have that much traffic. It's barely an afterthought.
However, even I can see that this is a terrible idea. What do big programs (Facebook, PHPBB, Joomla) save on the user's hard drive in a cookie for the Remember Me feature?
Do you guys have any good suggestions? I'm going to redo this part of the site and hopefully make it working in a manner that is best practice.
Thanks PHP Builder!