Bug 47988

Informational

GemStone/S 64 Bit

3.6, 3.5.5, 3.5.4, 3.5.3, 3.5.2, 3.5.1, 3.5, 3.4.5, 3.4.4, 3.4.3

All Platforms

Change in results from System>>descriptionOfSession: on non-existant sessions

For a session that does not exist, System>>descriptionOfSession: used to return an array of nils.  The new version of System>>descriptionOfSession: now returns an array of nils, zeros, empty strings, and a false as follows:

   topaz 1> run
   System descriptionOfSession: 333
   %
   a Array
  #1 nil
  #2 0
  #3 <empty string>
  #4 0
  #5 0
  #6 0
  #7 0
  #8 false
  #9 0
  #10 0
  #11 <empty string>
  #12 0
  #13 0
  #14 0
  #15 0
  #16 0
  #17 nil
  #18 0
  #19 0
  #20 0
  #21 0
  #22 nil
   topaz 1>

This change was made to provide additional information for a proto-session while still in the process of logging in, such as gems that have connected to the stone but have not yet registered their userProfile with the stone.  You can now get the gem processId, gem hostIp, and other fields for such a session.

Element 10 (sessionId) of the result will be 0 if the session does not yet "officially" exist, or positive if the session is officially recognized by the stone.


Last updated: 3/19/19