Geeks With Blogs

About Me:
I am a Female SharePoint Developer (a platinum unicorn). I have been working with SharePoint since I attended the Portal University in 2005. I hold a BA in Computer Science from the University of Missouri - Kansas City. I love playing Rockband, organizing user group meetings, working with code, attending events as a speaker or organizer, and having bizarre conversations about geek things with cool people. If you have any comments or questions fill out the contact form and I will try my best to help.

The Guide of a MOSSLover Becky Isserman's Blog

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: ,
Posted on Tuesday, August 11, 2009 7:13 PM MOSS | Back to top

Comments on this post: Last Logged Out Time in SharePoint

# re: Last Logged Out Time in SharePoint
Requesting Gravatar...
any code related to this discussion you've written so far would be appraciated.
Left by robert alan on Jun 29, 2010 4:04 AM

# re: Last Logged Out Time in SharePoint
Requesting Gravatar...
any code regarding the above discussion will be highly appreciated
Left by Prashant on Mar 31, 2012 2:12 AM

Your comment:
 (will show your gravatar)

Copyright © MOSSLover | Powered by: