Prevent multiple login's with the same user at the same time on Lotus Domino

Hi,

I need to prevent the same user account being used simultaneously in different sessions (business license restrictions being one reason). I guess there are two typical strategies to prevent:

  1. Prevent any new sessions while a session with the same user account exists.

  2. Allow a new session, but disconnect any previous sessions if they exists.

How can this be done on Lotus Domino platform which by itself does not support something like this.

Or is there any 3rd party tool that can be used to integrate into the platform.

Can we write a Java Session tracking program to do implement it.