0

I have custom signout.aspx page which is auto redirected when user session timeout expired. Problem is when user clicks the Back arrow or opens same site again, there is no prompt for authentication means user is still in login mode.

Importantly I am using Windows authentication and SSOM.

My problem is to clear the cache or cookies whatever so that user should be prompted for login again.

1 Answer 1

0

So basically you are outside the realm of SharePoint now and into straight web development. Basically calling Session.Abandon() (https://msdn.microsoft.com/en-us/library/ms524310.aspx) in your onLoad should do this for you.

You might need to delete cookies, but I think the Abandon call kills everything in the session enough. A new one needs to be created thus requiring you to login again.

1
  • 1
    Thaks for your reply David but I am still not able to achieve this. I have found a workaround closeConnection.aspx?loginasanotheruser=true, which works perfectly for all browsers except IE10, Safari. Jan 11, 2016 at 7:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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