Why does the session cookie work when serving from a domain but not when using an IP?
I have a Flask application with sessions that works well on my local development machine. However, when I try to deploy it on an Amazon server, sessions do not seem to work.