Welcome Guest, Not a member yet? Register   Sign In
Download file and then redirect
#1

[eluser]oniadvanced[/eluser]
Hi, Guys.

I've been working on this for two days without a solution. Here is the problem:

I want that the user can download a file (the file is created on the fly, a PDF report) and then the browser can refresh. I mean only after the file is downloaded, there is way to do this.

I have a form where the user can decide to export the PDF, so the idea is when he press the submit button the PDF is created and then go to a specific URL.

Thanks in advance.




Theme © iAndrew 2016 - Forum software by © MyBB