Currently sessions are lost when the service restarts. It would be nice if they would persist in case the service stops, etc.
Possibly store them in the database or in a cache like memcached. Storing them in the database would technically be slower, but has the advantage of being more permanent.
Currently sessions are lost when the service restarts. It would be nice if they would persist in case the service stops, etc.
Possibly store them in the database or in a cache like memcached. Storing them in the database would technically be slower, but has the advantage of being more permanent.
Alternately, look at something like JWTs