Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Caching problem

Status
Not open for further replies.

ramyamukund

Programmer
Jun 28, 2002
4
GB
I face severe caching problems in my application.
especially when i press a button in my page ,the page requires a manual refresh to show the changes.
the problem occurs only in certain pages and not all.
It happens only in IE6.0.
I've tried using response.cachecontrol,addheader and expiresabsolute.please respond to this query.
Thanks

 
try this:
<%
Response.Expires = -1000
Response.CacheControl = &quot;no-cache&quot;
%>
it will work..
Asaad SAAD.
 
thanks very much for ur quick response...i tried it...
unfortunately it didn't work...could u please
suggest another solution?

Thanks
 
try this at the beginning of the page
<%
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = &quot;no-cache&quot;

your code.......
%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top