SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This code I have using to clear the cache so that it has automatically sign-out from SharePoint site and it has to prompt the authentication dialog to login again.

function _spBodyOnLoad() {

This code I am in custom sign out page to clear Authentication cache, But the problem is that, it clears all the cache so if user browsing two different site in same browser with different tab it also automatically got sign out. Any idea to resolve the issue?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.