A
Anonymous
Guest
stodge said:My idea is to generate a random string (like a session id, or a random number) and store it in a cookie and store the random string, timestamp, username and password in a database table.
Then when the user returns to the site, the random string is retrieved from the cookie, and the login details are retrieved from the database.
This isn't exactly a "new login system". In fact, it's pretty much the universally accepted way of saving logins. Check your cookies, this very forum has stored a few "random string" cookies on your system exactly as you describe.
But congrats on figuring it out for yourself.