The SetPropertyL method is used to set the ID. For example:
const TInt KMySessionID = 74; // a random arbitrary ID const THTTPHdrVal Id(KMySessionID); ConnectionInfo.SetPropertyL(sessionId, Id);
All subsequent sockets will have the session ID specified by KMySessionID. Multiple sessions can share the same session ID, which helps multiple concurrent sessions to be treated similarly by the Flow hook.