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

Forum OpenACS Development: Re: html table to excel

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:


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).