How to handle session management?

we are creating a learning Academy In that when a user completes the course and logout , after user login into the system again how the user will able to see his recent viewed and completed courses. Can anyone help with this.?
1 answers

When a logged in user views a course make sure to store this information with an asociation to their user account. So you have something like account 1-* view 1-1 course, then you’ll be able to retrieve and display this when the user logs in again. Store this by creating a microflow to open the course for view that will contain the logic to create/ update the view entity data. 

For the completed course or progress the implementation is similar to that described above.