I have never tried a user session handler so far in PHP, and with me, thinking about the approach to the structure (either CodeIgniter or Kohana), I see that it is possible to use a pre-created user session handler. What are the pros and cons of moving to a system in which session data is stored in a database? How does a custom session handler improve security and maintainability?
One pro that I can think of if you are on a shared web host and the temp folder of the web host is full, trying to open a session may fail. However, if MySQL web hosting leaves, it is no less vain.
Would thank for any advice or recommendations. Thanks!
source
share