Bob: Here is a sample of the code I use at one of my clients.
Since you can specify the .exe name, I'm assuming (but haven't
tried) checking for your CompiledApp.exe.
-- If security level = 1, then allow multiple connections
IF vSecurity > 1 THEN
PLUGINS rinstancecount.rbl vrbg76|rbg76.exe
IF vrbg76 > 1 THEN
EDIT USING multiplealert
EXIT
RETURN
ENDIF
ENDIF
Karen
> Thanks, but I would rather be able to determine the session count.
>
> It is not outside logic that certain users might need to have two
> sessions
>
> open. If I can obtain a session count, I can then set by user, the
> number
>
> of allowed sessions and enforce it programatically.
>
>
>
> -Bob
>
>
>
>
>
>