function eraseCookie(name) document.cookie = name + '=; Max-Age=0' } I know Max-Age causes the cookie to be a session cookie in IE when creating the cookie. Not sure how it works when deleting cookies.
By modifying the expiry to a past date, cookies can be deleted. The document.cookie property in the DOM allows access and management of cookies, returning a string of all cookies associated with the current document. Example: The code below illustrates ho