I am creating a PDF file using Crystal report and loading it in browser on click of a
once i create the file and loads it works fine but when i change the data and again create the PDF;the browser loads the Previous File instead of the new one.
But i can see the newly created PDF at the Location .
I don't understand why it is loading the old PDF which does not exists.
Every time i run the program the old PDF is deleted and a new one is created on the same Location.
Suggest if you have any solution.
You need to clear the browser cache or force a reload. The browser uses the cached file if it thinks the contents are unchanged. I dont know enough to know if this is true on the server side as well.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)