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
Ayah Alqurashi
1 answers
1
Hi Ayah ,
you can achieve that by checking if there is an open session for MxAdmin:
From the Navigation use the Role-Based home page and specify a microflow for the Administrator.
in the microflow retrieve the associated sessions where the[ id != $currentsession].
count them and check if = 0 then redirect him to the administration page
else logout, or navigate to a blank page with a nice message.