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

Last Reply one year ago By dharmendr

Posted one year ago

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...