PHP session saved in a Database
HTML-код
- Опубликовано: 12 сен 2024
- We are going to see how to save our user's session in a Database, in this case we will use Microsoft SQL Server, but you can use the database system you want.
In PHP, by default, our session is saved in a local file on the web server, but when we work with a balanced web server system, it is necessary to save our user's session in a shared database, which will be accessible from any server in our infrastructure.
Teneis el código del video publicado en el siguiente repositorio: github.com/Sergi17138/PHP-Session-saved-in-DB
Muchas gracias! Es de gran ayuda! Lo comparto!