Let sessionId can be generated by a sessionIdGenerator.