in reply to Cookie based authentication: Is it secure?
At the same time, write the same $random_no to a DB on your server, as well as the user's username. So, you can now identify the user using a temporary id.print "Set-Cookie: temp-id=$random_no; domain=yourdomain.com; expires= +".($now+3600);
|
---|