Does anyone know how I can make my page refresh itself after every 5s?
Does anyone know how to prevent a page from being cached?put this in ur between ur <head> tag
<meta http-equiv="refresh" content="5">
that 5 stands for 5 sec...
as for caching... I never -not- wanted cache on my page. So I'm not too sure on this. But my guess would be like this:
<%@ OutputCache Duration="0" VaryByParam="*" %>Thanx for your help.
I added the follong two lines between the head tags. The first is to prevent caching and the second is to refresh the page every 5 seconds.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="refresh" CONTENT="5">
Does anyone know how to prevent a page from being cached?put this in ur between ur <head> tag
<meta http-equiv="refresh" content="5">
that 5 stands for 5 sec...
as for caching... I never -not- wanted cache on my page. So I'm not too sure on this. But my guess would be like this:
<%@ OutputCache Duration="0" VaryByParam="*" %>Thanx for your help.
I added the follong two lines between the head tags. The first is to prevent caching and the second is to refresh the page every 5 seconds.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="refresh" CONTENT="5">