Quantcast
Channel: SCN: Message List - Java SDK Application Development
Viewing all articles
Browse latest Browse all 2284

Re: Avoiding error: "The session has been logged off or has expired. (FWM 01002)" after session kill / restore

$
0
0

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


Viewing all articles
Browse latest Browse all 2284


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>