app/etc/di.xml
Magento\Framework\Session\Generic
Details: The virtualType
variants of Magento\Framework\Session\Generic
Step 1. Magento\Framework\Session\SessionManager::__construct()
Details: How does Magento 2 detect whether it should use the database or filesystem to store the visitors sessions?
Step 2. Magento\Customer\CustomerData\Plugin\SessionChecker::beforeStart()
Step 3. Magento\Framework\Session\SessionManager::start()
Step 4. Magento\Framework\Session\SaveHandler::open()