One of the most common ways to store data used by web applications in your computer is by using Cookies. They are used by many websites and can have a lot of benefits. Most sites will use cookies to remember information they have previously collected about the users activities, preferences, and login information.

In the following code snippets we will take a look at the most common methods to create, update, and check for a cookie.