# Read http only cookie server side

**URL:** <https://forum.elixirforum.com/t/read-http-only-cookie-server-side/62115>\
**Category:** Questions\
**Tags:** phoenix, cookie, http-only\
**Created:** [March 5, 2024, 6:44pm UTC](https://forum.elixirforum.com/t/read-http-only-cookie-server-side/62115 "2024-03-05T18:44:04Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kokolegorille](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kokolegorille/32/4784_2.png) [@kokolegorille](https://forum.elixirforum.com/u/kokolegorille)\
**Post date:** [March 5, 2024, 7:29pm UTC](https://forum.elixirforum.com/t/read-http-only-cookie-server-side/62115/4 "2024-03-05T19:29:54Z")

</div>

I need to get the cookie like this

```elixir
refresh_cookie = conn.cookies["refresh"]

```

and not like this…

```elixir
refresh_cookie = conn.req_cookies["refresh"]

```

I thought it would be the same, but it’s not.

Thank You for the help

---

_[View the full topic](https://forum.elixirforum.com/t/read-http-only-cookie-server-side/62115)._
