added record.session_id= sid