Hi,
I use a php class to create pdf files (http://www.ros.co.nz/pdf/) ... but
when I download the created pdf, the browser window closes, and Acrobat
opens.
How do I prevent the closing of the original browser window? Maybe it has
something to do with cache, because most off the people using the website
don't have this problem.
Also , I need to use the session_cache_l imiter('no-cache'); before I can use
the "open"-option after clicking on the download link.
ps: even if I use target="_blank" , both browser windows closes.
Thanks in advance!
I use a php class to create pdf files (http://www.ros.co.nz/pdf/) ... but
when I download the created pdf, the browser window closes, and Acrobat
opens.
How do I prevent the closing of the original browser window? Maybe it has
something to do with cache, because most off the people using the website
don't have this problem.
Also , I need to use the session_cache_l imiter('no-cache'); before I can use
the "open"-option after clicking on the download link.
ps: even if I use target="_blank" , both browser windows closes.
Thanks in advance!
Comment