# Hey Guys, need your help

**URL:** <https://community.postman.com/t/hey-guys-need-your-help/16257>\
**Category:** Help Hub\
**Created:** [September 26, 2020, 5:41am UTC](https://community.postman.com/t/hey-guys-need-your-help/16257 "2020-09-26T05:41:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![swasthik08](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@swasthik08](https://community.postman.com/u/swasthik08)\
**Post date:** [September 26, 2020, 5:41am UTC](https://community.postman.com/t/hey-guys-need-your-help/16257/1 "2020-09-26T05:41:09Z")

</div>

I have a usecase where i need to run multiple different logins , but when i run the collection 1st Request will get succeeded where the cookie is being stored, this cookie is getting passed for all the following requests , because if which the requests are failing.  
i tried script for clearing cookie after the request gets completed.  
but cookie is not getting deleted  
can someone help me here to resolve the issue. (this is happening in newman aswell)  
below is the script used to clear cookie

const jar = pm.cookies.jar();  
jar.getAll(pm.request.url, function (error, cookies) {  
// error -   
// cookies -   
// PostmanCookieList: [https://www.postmanlabs.com/postman-collection/CookieList.html](https://www.postmanlabs.com/postman-collection/CookieList.html)  
});  
jar.clear(pm.request.url, function (error) {  
// error -   
});
