---
title: "$.removeCookie can not remove cookie?"  
description: "$.removeCookie can not remove cookie?"  
author: "Anonymous User"  
published: 2014-10-08  
updated: 2014-10-08  
canonical: https://www.mindstick.com/forum/2336/removecookie-can-not-remove-cookie  
category: "jquery"  
tags: ["jquery", "javascript"]  
reading_time: 1 minute  

---

# $.removeCookie can not remove cookie?

i'm using [https://github.com/carhartl/jquery-cookie](https://github.com/carhartl/jquery-cookie) for manage my cookiewhen i call $.removeCookie("Kamlakar"); it returns [true](https://yourviews.mindstick.com/view/81326/boycott-chinese-products-dream-will-come-true) but when i do $.removeCookie("Kamlakar"); [Value](https://www.mindstick.com/articles/23219/an-optimized-description-adds-value-to-experience-and-in-turn-effectively-guest-posting-packages) is still there

## Replies

### Reply by Anonymous User

basically the link gives a way to delete the cookie by setting its time to a negative time, so when it expires the cookie is gone. ( in Javascript ) and here is a way to do it in Jquery style.\

```
<script>    //setting the cookie    $.cookie({ 'myCookie': 'myValue' });     // Get a cookie    $.cookie('myCookie');     // Delete a cookie    $.cookie('myCookie', null);</script>
```


---

Original Source: https://www.mindstick.com/forum/2336/removecookie-can-not-remove-cookie

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
