<@U04UQ68083H> How do I host session cookies on bo...
# ory-copilot
b
@chilly-king-10285 How do I host session cookies on both HTTP and HTTPS domains?
c
A message from kapa.ai
I'm sorry, but based on the provided knowledge sources, it's not recommended or possible to host session cookies on both HTTP and HTTPS domains using Ory. Ory Kratos' cookies are only sent over HTTPS unless
--dev
is set. This is a security measure to ensure the integrity and confidentiality of the session cookies. Here is the relevant extract from the knowledge sources: "Unless
--dev
is set, Ory Kratos' cookies are only sent over HTTPS." [source](https://www.ory.sh/docs/kratos/guides/configuring-cookies) If you want to work with cookies in a development environment, you might consider using the
--dev
flag. However, for production environments, it's crucial to use HTTPS to ensure the security of your user's data.