Home
The Toolkit for Online Communities
17110 Community Members, 0 members online, 2268 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : html table to excel : One Message

Forum OpenACS Development: Re: html table to excel

Collapse
8: Re: html table to excel (response to 1)
Posted by Dave Bauer on
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:

http://openacs.org/forums/message-view?message_id=106523

Collapse
9: Re: html table to excel (response to 8)
Posted by Tilmann Singer on
Use doc_return instead of ns_return, then your database handles will be freed and you'll get nocache headers (starting with 5.0).