Share via


IResponse::put_Expires

The IResponse::put_Expires method sets the current value of the Response.Expires property of the Response object.

HRESULT put_Expires(
      LONG lExpiresMinutes
);

Parameters

  • lExpiresMinutes
    [in] A Long integer that contains the new Expires value.

Remarks

If the user returns to the same page before it expires, the cached version is displayed. If this method is set more than once on a page, the shortest time is used.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also