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;"  
 }  

3 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
  3. Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks Javascript Commission Bot Review

    ReplyDelete