Removed dependency on hard-code size of the session ID.