Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Crystal session management via open document

We are using open document to execute a report from an enterprise portal. When we use open document the first time everything is fine. However, if we log out of the portal, login in as a different user, and execute the same report the first user's session is used in Crystal. How could this server-side session be cleaned up so that each time open document is used the logon token being sent is used and a new server side session is established?

Thanks.

Edited by: Richard Mills on Sep 10, 2008 9:58 PM

replied

Hello Richard,

-Whenever we create any token, we must use valid method to pass user credentials to the system.

-If you are using createLogonToken() or createWCAToken(), then these methods take validminutes as a parameter for which user session will be valid.After those number of minutes will be finished, user sesion will be expired.

-However if you are using getDefaultToken(), then only way to clear user Session is to call enterpriseSession.logoff() which will close session for that user.

-For more information on this method, please go to the following URL :

http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm---->BusinessObjectsEnterpriseSDK->JavaAPIReferance--->Interface ILogonTokenMgr

Thanks,

Chinmay

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question