Magento 2 get session

You may also like...

1 Response

  1. Patrick van Efferen says:

    In some cases, this does not work and the Session will return false. than you can use the \Magento\Framework\App\Http\Context object, see https://magento.stackexchange.com/questions/206643/magento-2-2-2-customer-session-not-working-with-cache-enable

Leave a Reply

Your email address will not be published. Required fields are marked *