Tuesday, December 17, 2013

Java Script : Delete Cookie

function deleteCookie(cookieName,cookiePath)  {
  var path = window.location.pathname;
  document.cookie = cookieName + "=; path="+cookiePath+";expires=Thu, 01 Jan 1970 00:00:01 GMT;"  
 }  

2 comments:

  1. Nice to read this article will be very helpful in the future, share more info with us. Good job!
    additional hints

    ReplyDelete
  2. I just found this blog and have high hopes for it to continue. Keep up the great work, its hard to find good ones. I have added to my favorites. Thank You. 统计作业代写

    ReplyDelete