sync state.sessionId