logout problem
-
hi, i am developing a web application in asp.net (c#), when i m logged in related entries are made in database. similar with logout, now suppose if i logged in and my net connection is failed. how can i check this and make logout entries in database. need urgently, please thanking you in advance. Ratnadeep Raul Web Developer
-
hi, i am developing a web application in asp.net (c#), when i m logged in related entries are made in database. similar with logout, now suppose if i logged in and my net connection is failed. how can i check this and make logout entries in database. need urgently, please thanking you in advance. Ratnadeep Raul Web Developer
AFAIK, there is no efficient method to do. You need to keep the time when user logged in. And update the logout time from a scheduled job by comparing the login time. This scheduled job should run at specified intervals.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions