cancel
Showing results for 
Search instead for 
Did you mean: 

Concurrent License Question

Former Member
0 Kudos

Hello Experts,

Consider i am using an enterprise session for a single user in my system.The user might execute a report multiple times in a day, i want to cachethe IEnterpriseSession at my end ( not in session) and when the

particular user executes a report the same object is used.

- Consider the user logs into the app multiple times in a day, i will use the same cached IEnterpriseSession object. Will that work ? And when does the IEnterpriseSession object expire.

- In case the same user executes multiple reports simultaneously, will

the same IEnterpriseSession work ? and how many current accesses can

ithandle ?

Thank you,

Mark

Accepted Solutions (0)

Answers (1)

Answers (1)

aasavaribhave
Advisor
Advisor
0 Kudos

default timeout for IEnterpriseSession object os 20 minute, which cannot be altered. To be able to use the same IEnterpriseSession object you can create a token using getDefaultToken() which remains valid for upto 12 hrs or createLogonToken with specific number of usage and valid number of times it can be used, however every time you use the token it will consume 1 enterprise session. The tokens are valid onyl till their expiry period of if the originating IEnterpriseSession is explicitly logged off - whatever is earlier.

With an active IEnterpriseSession, you should be able to view multiple reports concurrently, there is no limit on how many reports you can view, as long as there is memory and processor that I can handle the requests.

Ideally the best practices recommend to logon - view one or more reports - logoff everytime.