When using an external login provider and after that impersonates another user the following cookie is added
Name: DW_ExtranetSessionCookie
Value: DWExternalLoginProviderId=1&AL=&DWExtranetImpersonateUserID=xwqtolpvMW8=
If the user don’t stop impersonation or signs out the following exception is thrown after session timeout.
[NullReferenceException: Object reference not set to an instance of an object.] Dynamicweb.Frontend.LogOnHandler.LogFailedFrontendLogin(String username) +19 Dynamicweb.Frontend.LogOnHandler.LogOn(String username, String password, Boolean onlyActive, Boolean impersonateUser, Int32 impersonateUserId, Boolean skipPasswordCheck) +7952 Dynamicweb.Frontend.LogOnHandler.CookieLogon() +323 Dynamicweb.Frontend.SecurityHandler.ExtranetStart() +1560 Dynamicweb.Frontend.LoginHandler.ExtranetStart(Int32 pageId) +46 Dynamicweb.Frontend.PageView.Load() +2359 Dynamicweb.Frontend.DynamicwebHttpHandler.ProcessRequest(HttpContext context) +176
Running on DW 9.9.1
BR
Thomas