/// <summary>
 /// Creates a new session with the given id and data, STORED IN MEMORY ONLY
 /// </summary>
 /// <param name="id">The ID (as used by the tokens) of the session</param>
 /// <param name="stardogServer">The stardog server details linked to this session</param>
 /// <remarks>
 /// If any other session data is added it should also be added to the parameter list
 /// </remarks>
 public static void CreateAndAddSession(byte[] id, ServerDetails stardogServer, string lanaguage)
 {
     GetTheSessionStore().createAndAddSession(id, stardogServer, lanaguage);
 }
Пример #2
0
 internal Session(byte[] id, ServerDetails stardogServerDetails)
 {
     Id = id;
     StardogServerDetails = stardogServerDetails;
 }