07-07-2009, 03:39 AM
[eluser]bgreene[/eluser]
corporates purchase from us ( thankfully 8=) )and they expect the "view/print as pdf" for their invoices. i can give them a link to the pdf and everything works fine but this means putting it in a public folder which is unacceptable from privacy aspect. but if i try a link such as "x.com/index.php/uac/inv.pdf" (controller uac checks access rights and then echoes the file), the browser downloads and saves the pdf immediately without popping up the view/saveas dialogue. any ideas on how to force the dialogue to popup?
many thanks in advance
bill greene
corporates purchase from us ( thankfully 8=) )and they expect the "view/print as pdf" for their invoices. i can give them a link to the pdf and everything works fine but this means putting it in a public folder which is unacceptable from privacy aspect. but if i try a link such as "x.com/index.php/uac/inv.pdf" (controller uac checks access rights and then echoes the file), the browser downloads and saves the pdf immediately without popping up the view/saveas dialogue. any ideas on how to force the dialogue to popup?
many thanks in advance
bill greene