How to clear Client Cache
-
I am building a website, and want to clear cache of all the clients from server at a particular time. Please let me know how to do this. :-O
-
I am building a website, and want to clear cache of all the clients from server at a particular time. Please let me know how to do this. :-O
Have you tried
Response.Cache.SetNoStore();
when one visits your page ? :-D Also add theseResponse.ExpiresAbsolute=DateTime.Now.AddDays(-1d);
Response.Expires =-1500;
Response.CacheControl = "no-cache";Hope this will help.
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
-
Have you tried
Response.Cache.SetNoStore();
when one visits your page ? :-D Also add theseResponse.ExpiresAbsolute=DateTime.Now.AddDays(-1d);
Response.Expires =-1500;
Response.CacheControl = "no-cache";Hope this will help.
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
Thank you so much Abhishek for your help. I think this will help me. Also I have seen your articles listed for voting in home page. http://www.codeproject.com/script/Surveys/VoteForm.aspx?srvid=956[^] It is great. I have voted you. Thanks for the lovely article as well. :) :)
-
Thank you so much Abhishek for your help. I think this will help me. Also I have seen your articles listed for voting in home page. http://www.codeproject.com/script/Surveys/VoteForm.aspx?srvid=956[^] It is great. I have voted you. Thanks for the lovely article as well. :) :)
:-D :-D Thank you so much for your vote. I hope I could produce more like this in future. :-\ Cheers.
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
-
:-D :-D Thank you so much for your vote. I hope I could produce more like this in future. :-\ Cheers.
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
Thank you for your reply and wish you luck in this. I think you will win. :) Keep doing your good work. :cool:
-
Thank you for your reply and wish you luck in this. I think you will win. :) Keep doing your good work. :cool:
Yes thank you. :thumbsup:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.