I have suffered through times like that, and just suffered through and never go to the hospital.
But I've never lost my appetite like you describe. So if you can't eat, you might need some kind of IV and nutrition you can only get there. 40 mg is already a pretty big dose of prednisone.
So sorry you are suffering so.
49 year old female attorney, diagnosed UC/pancolitis 1985, no surgery but much suffering.
Asacol/5ASA 6x400 mg maintenance for 20+ years; use prednisone & Rowasa for flares.
August 2008 sought care of naturopathic doctor. Food sensitivity test showed wheat/gluten, other intolerances; eliminated all wheat/gluten from my diet. Probiotics (Ultimate Flora, 50 billion), trying Curamin. Doing OK, but still have some bad days.