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

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

Download FREE API for Word, Excel and PDF in ASP.Net: Download