Magento 2 Development Workshop Learn More

Build User Login with PHP and MySQL

6 lessons

Adding User to a Session

In this lesson, we will add a logged in user to a PHP session.

Lesson Overview

In this lesson, we are going to learn:

  • How to work with the $_SESSION array in PHP and set the required user data