• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clearing cache when I close my browser

 
Ratish Vichithran
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My application shows payslips of employees. So when a user click on a link it generates the pdf for which I have added the following code,



But the problem here is that, it creates a PDF in the temporary folder.

Is there a way to delete the cache after the browser showing the pdf is closed?

I tried deactivating cache with the following code,



but it gave me an error saying the file could not be downloaded.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic