get trip id from session object