Forum OpenACS Development: Re: html table to excel
8: Re: html table to excel (response to 1)
Posted by Dave Bauer on 11/22/03 03:00 AM
I use ns_return 200 "application/text" and it works in Mozilla and IE. I didn't test in other browsers.
I also created an index.vuh that internally redirects foo.xls to foo.tcl so you get a nice filename for the download.
See this thread for this and more sample code:
9: Re: html table to excel (response to 8)
Posted by Tilmann Singer on 11/23/03 09:53 PM
Use doc_return instead of ns_return, then your database handles will be freed and you'll get nocache headers (starting with 5.0).