WOLongResponsePage
WOLongResponsePage
- Subject: WOLongResponsePage
- From: "Kranthi Sagar Borra" <email@hidden>
- Date: Fri, 21 Nov 2003 20:23:25 +0530
- Thread-topic: WOLongResponsePage
Hai..
I need to download files of huge size.To overcome session problems, I am implementing WOLongResponsePage.So my fist page has a link of filename, which on clicking takes me to the page implementing WOLongResponsePage.Here I shall display a message "Downloading File...Please Wait. " in the browser. Now for downloading the file, i append the file to response object in the appendtoResponse function and send it.But now at the same time I should be able to get back to the page that I am coming from.So its like I need to set the
aResponse.setHeader("application/octet-stream","content-type"); //for downloading the file and
aResponse.setHeader("text/html; charset=UTF-8;","content-type");//for going back to the page that I cam from
But I think we cannot use both.So can someone please tell me how to deal with this.
Regards,
Kranthi Sagar
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.