Hi,
I want to record the connection and disconnection of SQL session i.e. any connections/disconnections to the SQL Server from Application or through management studio
With the help of sys.dm_exec_connection and sys.dm_exec_sessions i am able to get details when connection is established. But since these tables does not store disconnected session ids, i am not able to record the disconnection related details.
Please guide.
Regards,
Saumik Vora