a0d929ca_WSRP_v2_0_Specification__Statement_text
[#] CS036 [Section] 5.1.1 [Statement text] 
The maximum length of a sessionID is 4096 characters, though Producers SHOULD keep it as short as possible as this can have a significant impact on Consumer performance.
WSRP v2.0 Specification
Statement text