The application session must contain a unique key and can be generated by the JavaExtensions class method, as follows:
String getAlphaUniqueCode(); String getAlphaUniqueCode(String userString);
Once the unique key for the application session has been created, the application session ID must update the instance of DSEOperation, using the following method call:
void setApplicationId(String appId);For all subsequent requests from the client, the application session ID can be accessed from the instance of the DSEOperation, as follows:
String getApplicationId();The operation must insert the entry in the application session table using the Context class method as follows:
void addApplicationSession(String session, String application, Context aContext);This method will create a new session entry for the application session nested within the session.