I am trying to fix a caching issue on a set of secure pages and realized that the title should be changed for all answers. When I put together the solution, I want to know the difference between HttpContext.Current.Response and Page.Response and when each object should be used in the application.
Thanks.
Page.Response is just a mapping to an HTTPContext when you are in the context of an HTML page.
Page.Response
HttpContext.Current.Response , . , , .
HttpContext.Current.Response
? , "" HttpContext.Current.Response , , Page.Response, /usercontrol.
. PageResponse , , , HttpContext - , Global.asax HttpModule/HttpHandler.
Source: https://habr.com/ru/post/1721925/More articles:JavaScript: very strange behavior with assigning methods in a loop - javascriptFlex Component Lifecycle: validateNow, validateDisplayList, invalidateDisplalList, commitProperties и т.д. - overridePHP - I want to check if the user address contains a website address - inputAdding a version number to an application folder in a Visual Studio installation project - visual-studiovb.net: переход к ресурсам ссылочного проекта - referenceEnterprise-class databases that can handle large RDF datasets? - databaseHow to encrypt passwords for JConsole password file - javaPyfacebook from assembly - pythonHow to execute a query from a stored procedure in SQL Server? - sqlWhen creating a WCF service using NetTcpBinding, use the "localhost" endpoint or the host name of the computer? - wcfAll Articles