Update database column value on Browser Close in ASP.Net

on Nov 24, 2021 12:50 AM

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