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!
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!