Icon

Magento 2.0 developer documentation has moved to devdocs.magento.com. It's now hosted on GitHub, and you can use pull requests and issues to suggest improvements. Just click the link that says, "Edit this page on GitHub."

Skip to end of metadata
Go to start of metadata

The Mage_Core_Model_Resource_Session class implements a custom session handle that allows session data to be saved in the database. This class was refactored and the following functionality was updated:

  • Garbage Clean method (gc) logic is based on session max lifetime configuration instead of session cookie lifetime.
  • The write method updates the session_expires field with the current time. Value of session_expires is used by gc for session cleanup.
  • Removed the gc call from the close method.
  • Mage_Core_Model_Session_Abstract::getValidatorData renamed to protected _getSessionEnvironment
  • No labels