Hello,
Please help me with this problem I need to preserve security t.e. so 2 people cannot login to the same site with the same username and password at the same time.
I know how to put flag. I am thinking to have a field in DB where I put 1 once person logs in, but I don't know how to turn it back to 0 once the session is over.
Do you have an ideas how can I do that?
Thank you very much!
Please help me with this problem I need to preserve security t.e. so 2 people cannot login to the same site with the same username and password at the same time.
I know how to put flag. I am thinking to have a field in DB where I put 1 once person logs in, but I don't know how to turn it back to 0 once the session is over.
Do you have an ideas how can I do that?
Thank you very much!