wohali commented on issue #10: Restarting CouchDB 1.6.1 inside Docker loses 
sessions
URL: https://github.com/apache/couchdb-docker/issues/10#issuecomment-324114293
 
 
   There is no session stored on disk across restarts. The session cookie you 
are keeping in your browser is a combination of username, time, and a hash 
based on the password and a secret value. If that shared secret is not 
persisted across restarts, it will be regenerated each time, and previously 
generated sessions will be invalid.
   
   Try creating a new file called `etc/local.d/secret.ini` and place within it 
these contents:
   
   ```
   [couch_httpd_auth]
   secret = monster
   ```
   
   where you replace the word `monster` with a unique hash that you don't 
reveal to anyone. This should prevent your session invalidation problem.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to