Hi Brian,
After you close the session and recreate the session, do you retrieve the IInfoObjects again from the infostore service or you are utilizing the the infoobject from the previous session?
Here is the line I am referring to
ISecurityInfo2 objSecurityInfo = boInfoObject.getSecurityInfo2();
IEffectivePrincipals effectivePrincipals = objSecurityInfo.getEffectivePrincipals();
Reason, once you logoff the old enterprise session, you create a new session, then you need to follow the enterprise process in relation to the new enterprise session and not any referrence with the old enterprise session which is logged off.
Thanks,
Prithvi