Link to home
Create AccountLog 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
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
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")