When a session is started I would like to log that users session ID to my user login logging table. Likewise when that session ends, either manually or times out; I would like to log that end timestamp; if they log out manually, it's easy, but a timeout is where I'm lost. Is there any support for this functionality or can someone point me in the right direction? Ultimately, I'm looking to create and administrative view that allows me to see what users are logged in.