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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically refresh page

Status
Not open for further replies.

thehms

Programmer
Jul 3, 2003
58
AE
hi all!

i have a problem on my website, it is a Forum... the page does not refresh automatically, instead it is loaded from the cache! everytime a user logs in he gets what he has nin the cache. unless he presses refresh button for every page he goes to!

how can i let the page automatically refresha nd get the new data from the database to be viewable to the user ??

thanx
The HMS
 
you can se the cache in the header with either meta tags or using ASP to do the same
eg:
<%
Response.Expires = -1
Response.AddHeader &quot;Pragma&quot;, &quot;no-cache&quot;
Response.AddHeader &quot;cache-control&quot;, &quot;no-store&quot;
%>

That should effect what you are seeing

_____________________________________________________________________
onpnt2.gif

Hakuna matata!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top