#778 Add cookie setting to Global