I have a issue with Ticker data.
The data is not getting refreshed, it is taking from cache
memory.
I tried no pragma and also expires meta tags, also refresh to
refresh the data.
But no result. ticker is inserted by applet
Anybody has any idea help me!!!!
Anupama SinghPosted Jul 3, 2009, 6:11 AM
Niradhip ChakrabortyPosted Jul 3, 2009, 5:48 AM
Probably I need to check your pageload code.....
Anupama SinghPosted Jul 3, 2009, 5:30 AM
Niradhip ChakrabortyPosted Jul 3, 2009, 5:22 AM
Anupama SinghPosted Jul 3, 2009, 5:14 AM
Niradhip ChakrabortyPosted Jul 3, 2009, 3:16 AM
You can use the folllowing code in tag to refresh the page automatically.
Note: I have given content value is 5. So after every 5 second it will refresh the page. You can increase or decrease the time frame.
Anupama SinghPosted Jul 3, 2009, 2:55 AM
actually i use applet for ticker.
data in ticker coming from text file when i make changes in text file chnaged data not reflecting immediately it reflected after browser refresh.
Niradhip ChakrabortyPosted Jun 29, 2009, 2:08 AM
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.Expires = 0;
Response.ExpiresAbsolute = Convert.ToDateTime(DateTime.Today.AddDays(-1));
Response.AddHeader("pragma", "no-cache");
Response.AddHeader("cache-control", "private");
Response.CacheControl = "no-cache";
rajesh rajeshPosted Jun 29, 2009, 2:02 AM
void Timer_Tick()
{
call the function to be refreshed.
}
put the Ticker control in the Update Panel and write the code to be refreshed in the Timer Tick event as shown above.
your problem will get solved.