Hi,
How can I only allow user to login once per session?
Let say once he login, his account login will be locked. This can simply done by adding a field in MySQL eg. LOGIN_ONCE=Y/N. But what if the user accidently close the browser, so it might create a deadlock here.
Any better solution for this?
Thanks
Louis