There are two types of cookies used: Session cookies and ‘normal’ cookies. Both types of cookie store a small text file on the users computer.
The session cookie simply stores a unique identification number. The server asks the users browser for this unique number and then presents information back to the users browser based on that unique number.
Currently we only store one text cookie on the users computer and it’s called ‘page’. This cookie stores a URL of the last requested page.
Oftentimes a user might have a favourite stored or may have left their computer on a page for a long time. The user is then presented with a sign in page. Once the login is successful, the user is then redirected to the page they were originally on (or requested via a favourite for instance).