How to do session management in Mendix applications

0
Hello everyone, We are building an educational application where a user page should contain his recently viewed courses, and when one user opens a course and logouts without completing the course and when he logins again he should resume from where he left.. how can this be managed in Mendix.. 
asked
2 answers
3

Hi Komali , 

You can use the leave action widget which will execute when the user leaves suddenly , In that microflow you can have your logic for particular user and you can open respective page for him when he login again

answered
0

So you need an entity between user and course, for instance CourseProgress, in which you save the progress. Every time the user advances to the next subject or page, update the CourseProgress object. If a user clicks on the course a second time, retrieve the right CourseProgress object, and direct the user to the correct page in the course.

answered