Where is the Cookie stored in

I just set a Cookie value, and then restart the server, and get the value all the same, it’s not suppose storing in the RAM.
Where is the Cookie stored in, how I can manage it?

http://www.phoenixframework.org/docs/sessions

1 Like

Cookies are stored on the clinet-side. In the browser. This is where you “clear cookies”, right?

On each and every HTTP request, a browser sends cookies back to the server. Updated cookies are returned back.

4 Likes

I think you are right, the cookie is stored in the browser and is encrypted. Thang you!

1 Like

I know I am right but thanks ;).

1 Like

Cookies in phoenix, by default, are not encrypted, they are signed. So you’ll know if somebody tampered with the cookie, but theoretically everybody can read what’s inside.

5 Likes