Removing caching from the ASP.net Page.
This is absolutely essential when using AJAX to retrieve time. if Cache for the AJAX page is not disabled, the page returns the same time for all requests.
Disable browser caching in ASP.NET - ASPdev.org: "Add the following line on top of the Page_Load event handler and your ASP.NET page will not be cached in the users browsers:
Response.Cache.SetCacheability(HttpCacheability.NoCache)"
No comments:
Post a Comment