Phase I trial to study the effectiveness of interleukin-12 in treating patients with refractory ovarian or abdominal cancers. Interleukin-12 may kill tumor cells by stopping blood flow to the tumor and by stimulating a persons's white blood cells to kill cancer cells.