Delete a Cookie Using Javascript
by Vinoth[ Edit ] 2010-02-02 16:50:36
Below Code is used to delete Cookie using javascript
function Delete_Cookie( name, path, domain ) {
if ( Get_Cookie( name ) ) document.cookie = name + "=" +
( ( path ) ? ";path=" + path : "") +
( ( domain ) ? ";domain=" + domain : "" ) +
";expires=Thu, 01-Jan-1970 00:00:01 GMT";
}