M
Mike
I am getting an error on a page that uses asp to query a db then opens the
page on the client in excel. The error is only occuring on XP boxes only.
If I comment out the cache killers it opens fine but I want to make sure a
user gets the most up to date data so I need some cache control in there.
What can I do to fix this?
Thanks
Mike
What I think is pertinent code:
'Cache control
response.expires = 0
response.expiresabsolute = Now() -1
response.addHeader "pragma","no-cache"
response.addHeader "cache-control","private"
Response.CacheControl = "no-cache"
Response.write "<meta http-equiv=""Content-Language"" content=""en-us"">" &
vbCrLf
Response.write "<meta http-equiv=""Content-Type"" content=""text/html;
charset=windows-1252"">" & vbCrLf
Response.ContentType="application/x-msdownload"
Response.AddHeader "Content-Disposition", "attachment; filename=" &
strProject & ".xls;"
page on the client in excel. The error is only occuring on XP boxes only.
If I comment out the cache killers it opens fine but I want to make sure a
user gets the most up to date data so I need some cache control in there.
What can I do to fix this?
Thanks
Mike
What I think is pertinent code:
'Cache control
response.expires = 0
response.expiresabsolute = Now() -1
response.addHeader "pragma","no-cache"
response.addHeader "cache-control","private"
Response.CacheControl = "no-cache"
Response.write "<meta http-equiv=""Content-Language"" content=""en-us"">" &
vbCrLf
Response.write "<meta http-equiv=""Content-Type"" content=""text/html;
charset=windows-1252"">" & vbCrLf
Response.ContentType="application/x-msdownload"
Response.AddHeader "Content-Disposition", "attachment; filename=" &
strProject & ".xls;"