It looks like you're new here. If you want to get involved, click one of these buttons!
Slawek_Guzek wrote: »
You would need to implement some sort of "semaphore" buffer table, and check if record for a given user exists in a record in an OnOpenPage trigger. If yes, record exists already throw an error preventing a page from being open. If no user specific record yet insert a new one, remembering the userid in it
The semaphore record from the semaphore should be removed in OnClosePage trigger
That would ensure that even if a user has a few sessions open given page can be opened only once.
But this sort of construction can cause problems if NAV client, or the page, crashes and the OnClosePage trigger is not executed properly and the semaphore record is non removed. If this happens the user will not be able to open the page anymore, until someone clears his record in the semaphore table.