# How to set the secure flag for cookie \_forum\_session

**URL:** <https://meta.discourse.org/t/how-to-set-the-secure-flag-for-cookie-forum-session/160872>\
**Category:** Product Support\
**Created:** [14 augustus 2020 om 14:18 UTC](https://meta.discourse.org/t/how-to-set-the-secure-flag-for-cookie-forum-session/160872 "2020-08-14T14:18:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mevaha](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mevaha](https://meta.discourse.org/u/mevaha)\
**Post date:** [14 augustus 2020 om 14:18 UTC](https://meta.discourse.org/t/how-to-set-the-secure-flag-for-cookie-forum-session/160872/1 "2020-08-14T14:18:51Z")

</div>

Hello,  
Our site should be work with http and https, we need to secure the cookie (\_forum\_session). Cookie Missing Secure flag only has HttpOnly how can this be setup with secure as well?

Thanks

---

_[View the full topic](https://meta.discourse.org/t/how-to-set-the-secure-flag-for-cookie-forum-session/160872)._
