Multiple sessions per user

0
The Multiple sessions per user option allows users to sign in multiple times through different clients. I was wondered if we  can have an exception to this option for only administrators (mxadmin's)  Is that valid in mendix 7.23.3 ?!!
asked
1 answers
1

Hi Ayah ,

you can achieve that by checking if there is an open session for MxAdmin:

  1. From the Navigation use the Role-Based home page and specify a microflow for the Administrator.
  2. in the microflow retrieve the associated sessions where the[ id != $currentsession].
  3. count them and check if = 0 then redirect him to the administration page
  4. else logout, or navigate to a blank page with a nice message.

 

Hope this will help.

 

Regards,

answered