# SetClientCookies=false per request

**URL:** <https://dev.lucee.org/t/setclientcookies-false-per-request/3631>\
**Category:** support\
**Created:** [March 18, 2018, 9:44am UTC](https://dev.lucee.org/t/setclientcookies-false-per-request/3631 "2018-03-18T09:44:26Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![isapir](https://dev.lucee.org/user_avatar/dev.lucee.org/isapir/32/854_2.png) [@isapir](https://dev.lucee.org/u/isapir)\
**Post date:** [March 19, 2018, 1:34am UTC](https://dev.lucee.org/t/setclientcookies-false-per-request/3631/7 "2018-03-19T01:34:01Z")

</div>

The Servlet API (on which Lucee and ACF are built) does not expose a method for clearing previously set headers. We can, theoretically, add an internal array that would hold the headers and only pass them forward on the first response “commit”, but is it worth it?

---

_[View the full topic](https://dev.lucee.org/t/setclientcookies-false-per-request/3631)._
