For my Symfony application, I have at least two modules:
- Login Module
- Processing Module
The Login Module is located on the gateway server; it does all the authentication when a user is first logging in. After that, it redirects to the processing module which is located on another server. Note that there can be many servers handling processing module.
The issue is how to keep the session persistence across different servers in Symfony? I plan to store my session data in a database. Is it that
- Making the database public to all the servers
- Pointing the user session management database to that database
Will do? Is there anything I miss?