Update Login status for particular user after browser close in ASP.Net

Last Reply on Apr 10, 2017 09:31 AM By dharmendr

Posted on Apr 10, 2017 12:55 AM

Hello Everyone,

I want to update my user table column 'loginStatus' to 0 for logout or 1 for fresh login, to prevent multiple logins!

So, i wrote update code in logout button click event but the problem is when i close browser or browser tab the loginStatus column will be 1 only, hence it'll not allow me to login again.

Please help me...