# I have a use-case where I have to login for different users. without clearing cookies, it'll fail. Currently, I have been doing it manually clearing all cookies but using this way I can not run in a runner

**URL:** <https://community.postman.com/t/i-have-a-use-case-where-i-have-to-login-for-different-users-without-clearing-cookies-itll-fail-currently-i-have-been-doing-it-manually-clearing-all-cookies-but-using-this-way-i-can-not-run-in-a-runner/16218>\
**Category:** Help Hub\
**Tags:** cookies\
**Created:** [September 25, 2020, 3:26am UTC](https://community.postman.com/t/i-have-a-use-case-where-i-have-to-login-for-different-users-without-clearing-cookies-itll-fail-currently-i-have-been-doing-it-manually-clearing-all-cookies-but-using-this-way-i-can-not-run-in-a-runner/16218 "2020-09-25T03:26:29Z")\
**Posts on this page:** 2\
**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 25, 2020, 3:26am UTC](https://community.postman.com/t/i-have-a-use-case-where-i-have-to-login-for-different-users-without-clearing-cookies-itll-fail-currently-i-have-been-doing-it-manually-clearing-all-cookies-but-using-this-way-i-can-not-run-in-a-runner/16218/1 "2020-09-25T03:26:29Z")

</div>

I have a use-case where I have to login for different users. without clearing cookies, it’ll fail. Currently, I have been doing it manually clearing all cookies but using this way I can not run in a runner.

Need a way to clear all cookies via pre/post request scripts.

---

<div class="post-metadata">

**Author:** ![edmundsecho](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/edmundsecho/32/9643_2.png) [@edmundsecho](https://community.postman.com/u/edmundsecho)\
**Post date:** [August 30, 2021, 7:50pm UTC](https://community.postman.com/t/i-have-a-use-case-where-i-have-to-login-for-different-users-without-clearing-cookies-itll-fail-currently-i-have-been-doing-it-manually-clearing-all-cookies-but-using-this-way-i-can-not-run-in-a-runner/16218/2 "2021-08-30T19:50:03Z")

</div>

I have the same problem. I’m trying to track down where Postman is configured to set the header of the login request once it is successfully logged-in. It seems unusual for testing purposes.
