Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I have set up Thingworx with forms login, some of my users have multiple logins, as they look after other users. If they happen to already be logged into a user account and then in the same browser login again, it causes issues with the sessions data which I store in the user extensions properties.
I need as way to stop multiple logins occur on the same browser, I would be happy of there was a way to know if a user was logged in already or not, so I could then redirect the user to the home page.
I have been trying to make changes to the FormLogin.jsp page, but have had no luck so far. Is there anything I can do to see if a user already logged in from the FormLogin.jsp page? Or any other suggestions on handling this situation?
Solved! Go to Solution.
Please check below online help and refer to Authenticator Sample Extension Configuration link
You can implement your own logic to accpet or reject user sign-in
Besides, you can use SecurityMonitor to monitor user sign-in status. Below article introduced how to use it.
This wouldn't be possible without implementing custom authentication code.
Where can I implement custom authentication code? I need to make sure that only one user is logged in at the same time, otherwise there will be issues with the user data being shared.
Please check below online help and refer to Authenticator Sample Extension Configuration link
You can implement your own logic to accpet or reject user sign-in
Besides, you can use SecurityMonitor to monitor user sign-in status. Below article introduced how to use it.