Skip to content

sessions don't survive server restart #200

@sscarduzio

Description

@sscarduzio

It's my understanding from the documentation that if I run the example code with the hardcoded password 'password-should-be-32-characters', this will be the decryption key of the cookie. Therefore, after I logged in, even if restart the server, I should be able to refresh the browser and still have a valid session.

This does not happen. Why? And how can I make hapi-auth-cookie behave like this?

I'm trying to achieve this behaviour in order to be able to run N servers behind a load balancer, without the need of sticky sessions.

Thank you for the great module!

Metadata

Metadata

Assignees

Labels

non issueIssue is not a problem or requires changes

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions