Delete a Cookie Using Javascript - Javascript Views : 276
Tagged in : Javascript
0 0
Send mail
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";
}
By Vinoth, On - 2010-02-02



    Login to add Comments .