Link to home
Start Free TrialLog in
Avatar of mwhodges
mwhodgesFlag for United States of America

asked on

pdf caching problems when being populated from SQL reporting

I have a report that runs fine with html4.0 but if you call it using a pdf the report continues to hold on to a previous copy that was opened in that session. PLease help.

ASKER CERTIFIED SOLUTION
Avatar of gdupadhyay
gdupadhyay
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Howard Cantrell
If you are doing web. then place this in your load event
        Response.Buffer = True
        Response.Expires = -1442
        Response.AddHeader("cache-control", "private")
        Response.AddHeader("pragma", "no-cache")