HtmlWorkshop

HtmlWorkshop

GetCookie Overview

The GetCookie service takes as input the name of the cookie that we would like to retrieve from the user's computer. It must previously have been created for a meaningful result to be returned and it cannot have expired.

Cookies are small files which are stored on the user’s computer for a certain number of days. The users have the ability to view the cookies stored on their computer for the various sites they visit and view the data, so it is often encrypted. These can be useful when you want to save a variable and not have it wiped when the user’s IIS session ends on the session timeout or when closing the browser.