cancel
Showing results for 
Search instead for 
Did you mean: 

OpenDocument using token causing new sessions

mike_howles4
Active Contributor
0 Kudos

Hi.

I have a custom app that uses RESTful web services to get a token which I then use to launch OpenDocument links (and pass the same token).  I notice in the CMC that each time I launch an OpenDoc with the same token, a new session gets created.

A few questions:

  1. Is this normal?
  2. Can I change this behavior?
  3. Will the sessions eventually time out naturally?  (I've seen some that are over 2 hours old now)

I read the guide and did not see anything there.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

daniel_paulsen
Active Contributor
0 Kudos

Hi Mike,

I think this will depend on how you are using OpenDocument.

If you are opening in the same browser session, then my understanding is that only one user session should be created.  If you are using separate windows, then this can increase the user count.

Ultimately, the sessions should time out.  An option could be to use a serializes session (serSes), but you would need to use the platform SDK (not REST) to get this value.

mike_howles4
Active Contributor
0 Kudos

Thanks, Daniel.

I'm opening in a new tab using window.open("myopendocurl").  So it's technically in same window but different tab.

I saw some mention of serSes however as you've mentioned it required me to use Java SDK, etc...

Answers (0)