Dear Sir,
I have a login table having column as 'Status' which is containing value "online" and offline.
and I set by default "Status=Offline".
When I have login successfully then status is updated as "online". and on logout "Status=Offline" updated.
But when Application through an exception or terminated Then "Status=online" shown in login table.
so please tell me how to resolve this type of issue in C#