1. mike S
  2. PowerServer
  3. Friday, 10 September 2021 14:44 PM UTC

what is the max length of the session id returned by PS2021?

this is from the help as an example of the session id:

"sessionid":"8e3f5c6d-7515-4377-9a45-0e3349fcbfd2"

I need to store the session id, so i need to know how big it can be.

 

** this is different than the sessionid from PS 2020

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 10 September 2021 16:08 PM UTC
  2. PowerServer
  3. # 1

Hi Mike;

  FWIW:  I had the same concern when I added this to my framework in the Public Beta. I went for a 60 character size to be safe compared to the 36 digits we see here.

Regards ... Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Friday, 10 September 2021 17:15 PM UTC
  2. PowerServer
  3. # 2

This appears to be a GUID and a GUID has a max length of 36 counting the dashes.

Comment
  1. mike S
  2. Friday, 10 September 2021 18:50 PM UTC
yeah, that is what i think too. it should be in the documentation!
  1. Helpful
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Monday, 13 September 2021 02:16 AM UTC
  2. PowerServer
  3. # 3

Hi Mike,

Roland is correct. The Session ID is a GUID and its length is 36. We will document it in the GetSessionID function chapter.

Regards,
ZhaoKai

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.