In login.php, when a user chooses to be remembered, two cookies are set on the user's computer. Actually it is one cookie, but one that contains two important pieces of information: the username and the md5 encrypted password. What is a cookie anyways? It is a temporary file that is stored on the user's computer on behalf of the website in order to hold information that is important to the website. However, it also gets deleted when the user decides to log out, as you will soon see.
Click here to get the Reference web url