Tuesday 06 February 2007 9:45:14 am - 4 replies
Kristof Coomans
Tuesday 06 February 2007 11:52:15 pm
Hi Bjørn
This has probably something to do with cache control.
I've encountered the problem before with other types of files and I used the following HTTP headers to solve it:
Expires: 0 Cache-Control: private Content-type: application/x-Research-Info-SystemsContent-Disposition: attachment; filename="export.ris"
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Bjørn Sandvik
Wednesday 07 February 2007 1:17:52 am
Thanks for your reply.
Is it possible to set these HTTP headers without changing the kernel files of eZ publish?
http://blog.thematicmapping.org http://www.globalis.no
Wednesday 07 February 2007 2:06:29 am
Yes, you can: http://ezpedia.org/wiki/en/ez/headers
Wednesday 07 February 2007 9:34:31 am
SOLVED!
I had to add these lines to site.ini.append.php:
[HTTPHeaderSettings] CustomHeader=enabled HeaderList[]=Cache-Control Cache-Control[]Cache-Control[/layout/set/kml]=private
It is now working in both Internet Explorer and Firefox
Thanks for your help.
You must be logged in to post messages in this topic!