StrataFrame Forum

Prevent User from logging into same program multiple times...

http://forum.strataframe.net/Topic13254.aspx

By StarkMike - 1/4/2008

Is there a way to prevent the same user from logging into the same program more than once? For instance sometimes we have people use one persons login credentials from more than one computer.

Thanks

By Trent L. Taylor - 1/4/2008

You can mange this yourself by handling the CurrentUserChanged event (MicroFour.StrataFrame.Security.SecurityBasics.CurrentUserChanged).  YOu could create a temp table or something of that nature that prevents people from logging in with the same account more than once.  So when the event fires, you can check this table and if the user is already logged in, then lock the session to force them to log back in or close your app.  But it can be done, but there is not any native logic to do this.