17-10-12, 10:49 PM
كاتب الموضوع : AhmedEssawy
كود :
<%
'FROM MIND Magazine,
'September 1999 issue
'GeekToGeek column by
'Robert Hess
'Below must be place before HTML tag
'and everything else on page
response.expires = -1
response.AddHeader "Pragma", "no-cache"
response.AddHeader "cache-control", "no-store"
%>
<HTML>
<HEAD>
<TITLE>My Web Page</TITLE>
<%
'To Test code:
'Load the page, go to
'a different page,
'then click back. You'll
'see the time change (i.e.,
'page not being loaded from
'cache)
'This prevents pages from being cached,
'but not images on page.
response.write now()
%>
</HEAD>
<BODY>