ASP.Net caching problem
-
Hi, Can some body please tell me, of how to prevent ASP.Net pages from being cached, Each time i request the page, it retreives the page from the cached ones, then to reflect the new changes, i have refresh it every time, Thanks in advance
-
Hi, Can some body please tell me, of how to prevent ASP.Net pages from being cached, Each time i request the page, it retreives the page from the cached ones, then to reflect the new changes, i have refresh it every time, Thanks in advance
Put this tag in the html head section to tell the browser not to cache: <meta http-equiv="Cache-Control" content="no-cache" > or write the on Page Load event Response.Cache.SetCacheability(HttpCacheability.NoCache)
/***********************/ Parwej Ahamad g.parwez@gmail.com /***********************/
-
Hi, Can some body please tell me, of how to prevent ASP.Net pages from being cached, Each time i request the page, it retreives the page from the cached ones, then to reflect the new changes, i have refresh it every time, Thanks in advance
Anuradha612 wrote:
Can some body please tell me, of how to prevent ASP.Net pages from being cached,
As I told in my previous replies to you, it's your browser problem. Have you checked in other machine ? Usually ASP.NET won't cache any data if you are not telling it to do. Check your browser settings. Check the same page in another machine.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Put this tag in the html head section to tell the browser not to cache: <meta http-equiv="Cache-Control" content="no-cache" > or write the on Page Load event Response.Cache.SetCacheability(HttpCacheability.NoCache)
/***********************/ Parwej Ahamad g.parwez@gmail.com /***********************/
there is no effect with the two solutions provided, could u pls suggest some other alternative Thanks
-
there is no effect with the two solutions provided, could u pls suggest some other alternative Thanks
Please go through this URL. It's have the all scenario.
/***********************/ Parwej Ahamad g.parwez@gmail.com /***********************/