Update database column value on Browser Close in ASP.Net

Qasim5151
 
on Nov 24, 2021 12:50 AM
323 Views

Hello guys.

i am making matrimony website. i have issue about user login status. The user online status field is present in the login table. I want the status to be offline when the user is offline. Now users do not log out if user close the browser then the offline status how to change in the database. I have set the session time 20 minutes in the webfig file.

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