# Cookies being saved between iterations?

**URL:** <https://community.postman.com/t/cookies-being-saved-between-iterations/5896>\
**Category:** Help Hub\
**Tags:** cookies, iterations\
**Created:** [June 13, 2019, 2:11pm UTC](https://community.postman.com/t/cookies-being-saved-between-iterations/5896 "2019-06-13T14:11:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Whersh](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@Whersh](https://community.postman.com/u/Whersh)\
**Post date:** [June 13, 2019, 2:11pm UTC](https://community.postman.com/t/cookies-being-saved-between-iterations/5896/1 "2019-06-13T14:11:45Z")

</div>

**Describe the bug**  
When running a postman collection through multiple iterations my cookie are saving and causing issues. I am just recently able to “Run collection without stored cookies”, which I have been able to do with newman for a while now, BUT I want to now be able to run EACH iteration without using the previous cookies if possible.

**To Reproduce**  
Steps to reproduce the behavior:

1. Click on collection that (requires blank cookies before each run. i.e. login/tokens)
2. Check the box for " Run collection without using stored cookies"
3. Run Collection
4. Watch iteration #1 run fine.
5. Watch iteration #2 FAIL horribly. 😉

---

<div class="post-metadata">

**Author:** ![Whersh](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@Whersh](https://community.postman.com/u/Whersh)\
**Post date:** [June 17, 2019, 11:29am UTC](https://community.postman.com/t/cookies-being-saved-between-iterations/5896/2 "2019-06-17T11:29:17Z")

</div>

Should this be set as a “feature request?” @danny-dainton

---

<div class="post-metadata">

**Author:** ![postman-paul540](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/postman-paul540/32/149_2.png) [@postman-paul540](https://community.postman.com/u/postman-paul540)\
**Post date:** [June 17, 2019, 11:33am UTC](https://community.postman.com/t/cookies-being-saved-between-iterations/5896/3 "2019-06-17T11:33:06Z")

</div>

Would this solve your issue?

> <https://github.com/postmanlabs/postman-app-support/issues/5215>
>
> Right now Postman allows to delete cookies one by one and also per domain. 
> But… users can't delete all the cookies in one go. 
> This is useful for cases where there are too many cookies.

Clearing cookies between each iteration

---

<div class="post-metadata">

**Author:** ![Whersh](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@Whersh](https://community.postman.com/u/Whersh)\
**Post date:** [June 17, 2019, 11:38am UTC](https://community.postman.com/t/cookies-being-saved-between-iterations/5896/4 "2019-06-17T11:38:19Z")

</div>

It might. But the fact remains that this is a gap in functionality that was not thought out. They gave up the ability to “Run collection without stored cookies”. It would be nice to be able to apply that to each iteration in the run as well.

For the time being though I could run a remove {{certain \_cookie}} as part of my “cleanup” at the end of each test.

---

<div class="post-metadata">

**Author:** ![makuhlmann](https://avatars.discourse-cdn.com/v4/letter/m/ee7513/32.png) [@makuhlmann](https://community.postman.com/u/makuhlmann)\
**Post date:** [October 8, 2021, 9:59am UTC](https://community.postman.com/t/cookies-being-saved-between-iterations/5896/5 "2021-10-08T09:59:20Z")

</div>

Hi there!

I’m struggling with the same problem. I expected the option “Run collection without stored cookies” to run each iteration without cookies, but obviously it does not.

I would be very pleased, if it were possible to run the collections in this way.
