What is the best way to disable cookies in Phoenix?

I have a very simple Phoenix app running in App Engine, and I’d like to disable cookies since there is no reason to track sessions. Is this possible? What would be the best way to do this?

Thanks in advance!

1 Like
  • remove plug :fetch_session from router.ex
  • remove plug Plug.Session from endpoint.ex

I suppose this should do it, but I’ve never tried it myself, so do check and report back.

1 Like