خاصية ASP ExpiresAbsolute
استكمال مرجع كائن الاستجابة
تحدد الخاصية ExpiresAbsolute التاريخ والوقت اللذين تنتهي فيهما صلاحية الصفحة المخبأة في المستعرض. إذا عاد المستخدم إلى نفس الصفحة قبل هذا التاريخ / الوقت ، فسيتم عرض النسخة المخبأة.
بناء الجملة
response.ExpiresAbsolute[=[date][time]]
Parameter | Description |
---|---|
date | Specifies the date on which the page will expire.
If this parameter is not specified, the page will expire at the specified time on the day that the script is run. |
time | Specifies the time at which the page will expire.
If this parameter is not specified, the page will expire at midnight of the specified day. |
أمثلة
يشير الرمز التالي إلى أن الصفحة ستنتهي صلاحيتها الساعة 4:00 مساءً في 11 أكتوبر 2012:
<%response.ExpiresAbsolute=#October 11,2012 16:00:00#%>
استكمال مرجع كائن الاستجابة