Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection.session not designed for production environment #50

Open
the-AjK opened this issue Jul 2, 2014 · 0 comments
Open

Connection.session not designed for production environment #50

the-AjK opened this issue Jul 2, 2014 · 0 comments
Assignees
Milestone

Comments

@the-AjK
Copy link
Contributor

the-AjK commented Jul 2, 2014

I dati di sessione del server sono memorizzati in ram, quindi al riavvio di quest'ultimo gli utenti connessi perdono l'accesso e devono rifare il login.
Nodejs all'avvio del server in modalità production infatti avvisa:
Warning: connection.session() MemoryStore is not designed for a production environment, as it will leak memory, and obviously only work within a single process.

Soluzioni: salvare la sessione su Db?

@the-AjK the-AjK added this to the Consegna RA milestone Jul 2, 2014
@the-AjK the-AjK self-assigned this Jul 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant