Keep users from logging in on multiple devices

the issue is, the browser is somehow caching data. May be I can open a Modal popup asking them to click on logout. instead of script log out

because they are unable to read message. if I am closing current session where I am trying to log in.

Use the authenticationChallenge function instead, while making sure to supply forceAuth = True.

1 Like

Tip: please see Wiki - how to post code on this forum.

1 Like

I am having trouble with this. Apparently I don't know where to put the script. I tried the Session Startup script,

And got this error,

saying "No perspective page attached to this thread." (see attached text below)

log_authenticationchallenge.txt (4.3 KB)

Then I tried a view page onStartup event, and got a different error,

The same problem occurs whether on the page or root onStartup event.

Can I see a screenshot of where and how the script is implemented?

authenticationChallenge needs a page in order to run, which doesn't exist on session startup. You can run it from the page startup session event, here: