Hallo Olu,
I do something similar just that I restrict user to 1 login/session...doesn't matter is mobile or desktop. Maybe I will let them also both (mobile and desktop)...but I don't see the reason.... When they login I check the incoming parameter to see if they come from a mobile or desktop and then I story in a table. (UserOnline). The problem is when they close the browser without to press logout button...well this way they need to wait until the session will expire automatically. (in my case is 17m)
This is the code to detect if they come from a mobile...
IF INSTRING('Mobile',CLIP(p_web.RequestData.DataString),1,1) OR INSTRING('Android',CLIP(p_web.RequestData.DataString),1,1)
AUTI:OnlineMobile = 1
ELSE ! they come from a desktop
AUTI:OnlineMobile = 2
END
The code works ok and so far it's perfect for me. (I just do this for statistics)
Maybe you can modified the code and fetch to see if user is already connected to a desktop or a mobile, if connected then show a warning message if not then let him connect...
Hope this help you.
Regards,
Robert
[attachment deleted by admin]