Adding session_id in get_view see BT#7852