DataObject.getCookie is obsolete.