开发者

Sharepoint 2010: Sign-out even after browser closes doesn't sign the user out

开发者 https://www.devze.com 2023-01-04 20:35 出处:网络
When I sign out of Sharepoint 2010, I close my browser.When I attempt to go back to sign-in, I see that I am already signed in.All of my browser instances are closed.This is using Windows Authenticati

When I sign out of Sharepoint 2010, I close my browser. When I attempt to go back to sign-in, I see that I am already signed in. All of my browser instances are closed. This is using Windows Authentication, but I usually have to sign-in when logging in for the first time to my machine or deploying a webpart开发者_JAVA百科.


I'm not sure I see a question here.

What I believe is occurring is SharePoint is delivering a cookie to your browser that is authenticating you. To test, you can go into your browser settings and delete your cookies and then try to access the site again.


go to C:\inetpub\wwwroot\wss\VirtualDirectories\potrt number

<script runat="server">

    void SessionAuthenticationModule_SessionSecurityTokenReceived(object sender, Microsoft.IdentityModel.Web.SessionSecurityTokenReceivedEventArgs e)
    {
        e.ReissueCookie = true;
        e.SessionToken.IsPersistent = false;
    }

    </script>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号