Dear ALL
now i have a DB on Mysql server and i have an interface using C# for lan users ,now when each user log in using the software , the software insert the log in userID (they are users related to the software not the Mysql servers users) in a certain table and insert also login time/date and when the user exist from the software , it inserts the logout time/date
i use this table to prevent login using the same USER from two PC at the same time , so if a user is not logout ,it can't login again from another pc
the problem that if a problem happened with the software or the PC or electricity cutoff , the software doesn't insert logout time/date so when the user try relogin , he can't access since the software thinks that the user is already logged on
so how to solve such problem??
thanks
bye