How do I force the browser to get an updated PDF file generated from an SSRS report?
browser, caching, pdf, reporting-services, temporary-files
Solution
I used the clearsession parameter to get a fresh pdf with updated information, it looks like this in the url:
http://servername/ ReportServer/Pages/ReportViewer.aspx?/MyReport/ &rs:Command=Render&ReportID=123456 &rs:Format=PDF &rs:ClearSession=true
Managing Report Sessions on a URL
Problem
I have a web page that downloads a pdf version of an ssrs report through a link. However when I make changes to the data, the browser pulls up the same pdf file as before without the updated information (the pdf file stored in the temp folder). If I then go to another browser and download the PDF I get the new version, but the other browser still gets the old version. How can I force the browser to download a new version of the pdf report? The url I use to create the pdf is below: http://servername/ReportServer/Pages/ReportViewer.aspx?/MyReport/&rs:Command=Render&ReportID=123456&rs:Format=PDF