PHP Programming/Cookies

< PHP Programming

Cookies are text documents that are sent from a server to John dish 's computer.They can contain information such as usernames and passwords.

Cookies store their content in name-value pairs,for example:

username="Johndish"

in this case username would be the name of the cookie and Johndish would be what is stored in the cookie I.e it's value. Cookies have been used to store alot of things on the internet since it's creation. But most websites nowadays prefer to store sensitive information such as passwords on their server and less sensitive information such as user's last visit on cookies.

Cookies in PHPEdit