jCookies, a jQuery plugin, makes getting and settings HTTP Cookies a breeze. jCookies allows the storage of any type of data: strings, arrays, objects, etc. Data is stored in the cookie as JSON data. Also you can retrieve data using server side code such as C# and PHP.