Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We have site with forms based authentication. When user logs in and closes browser (whole browser) he is logged out. But when he closes tab in which he opened site, he is still logged in when he reopens tab and opens site again.

How we can logout user/kill session when tab in browser is closed?

share|improve this question

2 Answers 2

That's a browser issue. The whole browser is required to be closed because the session information is still in the browser. The answer here is that it is a training issue to make sure users log out properly.

share|improve this answer

Maybe you can build in some mechanism where it will check if user is still active or not, if for some periode of time the users wasn't active on the website he could be automatically logged out. If this approach is possible you could try it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.