How to properly use a cookie [on hold]

good day..I have a problem, but I think it’s not really a problem. I’m just curios about the php cookie. I have set it up on my website.
I use it as a basis for “remember me” checkbox and it’s working properly,but, I don’t really what are the importance of setting up a cookie. Will I use it to automatically logged in a user which does not press the logout button but maybe just close the browser? or can I use it just to save thier email address and let them fill-up the password field? It really bothers me. What is really the importance of cookie. What I mean is, how do I use the cookie properly? I hope you understand my question. Please help me clear this cookie thing. Really appreciate if you would answer this. Thanks. don’t be harsh on me 🙂


Source: php

Leave a Reply