I was kicking myself last week wondering why am I not seeing a last logged out time in SharePoint. I talked to a few people and I guess I never really though about it. If you are using Active Directory, then there really is no last logged out time for SharePoint. There is a last logged out time in Active Directory, because AD is what is handling SharePoint. So when you logout and you close the browser, then open it back up with SharePoint it will show up with yourself fully logged in. I came up with a solution for now, but I may tweak it a bit. Use a list and somehow record the logged in or if possible use an event handler to record the logged out time. Even an httphandler or something might be a resolution. How many people really think about this that often unless confronted with the problem? In FBA if using an ASP .Net Membership Database, then you are recording the last logged out session time. The list idea to me is a good one, because you can keep overwriting the session based on the username and a caml query. You just use the CAML Query Builder and a little SPList code and you are set. It’s simple and it gets the job done. It should only take a tiny bit of effort even for the new SP Devs. I am optimistic though as you see I believe we can solve world hunger with a little code and some faith. See you guys later…
Technorati Tags:
MOSS,
User Session