Size of session id can be set through the SessionStoreSettings
Copied MemorySessionStore to SessionCacheStore