Temporary resolution of problem with session id being received as int or uint. Needs more detailed investigation