Gets/sets a list of the cookies associated with the current document.
Syntaxcookie_list = document.cookie document.cookie = cookie_list
cookie_list is a string containing a semicolon-separated list of cookies
If there are no cookies associated with a document, this function returns an empty string. Note also that you cannot use this property to set more than one cookie at a time.