Differentiate between Response.Expires and Response.ExpiresAbsolute?

devquora
devquora

Posted On: Jul 02, 2024

 

Response.Expires is a property that is specific to the minutes that a particular page has in caches right from the time of the request that has been placed from the server. While on the other hand, Response.ExpiresAbsolute is a property that helps in providing the exact time at which a particular page cache has expired.

For instance:

  • Response.Expires is set to 10 minutes and the page is directed to stay in cache for 10 minutes from the time it has been requested.
  • Response.ExpiresAbsolute gives information like 13 January 15:48:30. This time specifies when the page was in cache.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    ADO.Net Interview Questions

    Describe ADO.net?

    ADO.NET (ActiveX Data Objects) is a crucial part of the .NET framework. It provides a set of classes for managing data access and connectivity to databases such as Oracle and SQL, enabling efficient d..

    ADO.Net Interview Questions

    List the two important objects of ADO.net and also list the namespaces that are commonly used in ADO.net to aid in connection to a database.

    Two critical objects in ADO.NET are DataReader and DataSet. Key namespaces for database connectivity include:System.Data.OleDb: Connects to OLE DB data sources. System.Data.SqlClient: Connects to..

    ADO.Net Interview Questions

    List some of the common data providers for ADO.net framework.

    Common data providers in the ADO.NET framework include:.NET Framework Data Provider for Oracle: Connects to Oracle databases. .NET Framework Data Provider for OLE DB: Connects to OLE DB data sour..