moved the string buffer inside the session object