Re: Set Filename for ZMS PDF-Export / Content-Disposition

"Thorsten" <[email protected]> Thu, 31 Mar 2011 15:51:34 -0000
Newsgroups gmane.comp.cms.zms.devel
Message-ID <[email protected]>
sorry, short correction to my 'Content-Disposition' parameter explanation, its the other way round:

"inline" will open the pdf in the browser plugin:
RESPONSE.setHeader('Content-Disposition','inline;filename=myZip.zip')

"attachment" will give you a prompt for downloading:
RESPONSE.setHeader('Content-Disposition','inline;filename=myZip.zip')

Greetings,
tf