Log in
Model

Session

Magento\Catalog\Model\Session

What it does

This class manages catalog-specific session data in Magento 2, such as recently viewed products, comparison lists, and product filtering states.

Developers use it to store and retrieve temporary catalog data that needs to persist across page requests for individual users.

It extends the base SessionManager to provide catalog-focused session handling without adding custom methods.