IT��ά������������ҵ��ֵ��
�й�IT��ά����ҳ | ��Ѷ���� | ��ά���� | ��Ϣ��ȫ | CIO�ӽ� | �Ƽ��� | ��Ѱ��� | ��ά��Դ | ר��߻� | ֪ʶ�� | ��̳

ASPС���ɣ�����htmlҳ��Ļ���

2007��02��12��
����/

1����Aspҳ���ײ�<head>����
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "No-Cache"

2����HtML�������
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
</HEAD>

3�������µ���ԭҳ���ʱ���ڸ�ҳ�洫һ������
Href="****.asp?random()"

ǰ����������˵��ʱ��ʧЧ������������������תʱ��һ������IJ����� ��Ϊaspx�Ļ������������صģ����������ͬ�Ͳ���ʹ�û��棬������������ҳ�棬ÿ�ζ���һ������IJ����Ϳ��Ա���ʹ�û��档�����������asp&asp.net

4����jspҳ���п�ʹ�����´���ʵ���޻��棺

response.setHeader("Cache-Control","no-cache"); //HTTP 1.1

response.setHeader("Pragma","no-cache"); //HTTP 1.0

response.setDateHeader ("Expires", 0); //prevents caching at the proxy server

���������<head> </head>��������

<head>

<%

response.setHeader("Cache-Control","no-cache"); //HTTP 1.1

response.setHeader("Pragma","no-cache"); //HTTP 1.0

response.setDateHeader ("Expires", 0); //prevents caching at the proxy server

%>

</head>

5��window.location.replace("WebForm1.aspx");
����������Ҫ���ǵ�ҳ�棬replace��ԭ�������õ�ǰҳ���滻��replace����ָ����ҳ�档
�������Է�ֹ�û����back����ʹ�õ���javascript�ű����������£�

a.html

<html>
<head>
<title>a</title>
<script language="javascript">
function jump(){
window.location.replace("b.html");
}
</script>
</head>
<body>
<a href="javascript:jump()">b</a>
</body>
</html>

b.html

<html>
<head>
<title>b</title>
<script language="javascript">
function jump(){
window.location.replace("a.html");
}
</script>
</head>
<body>
<a href="javascript:jump()">a</a>
</body>
</html>

ǰ4��ֻ�������cache�����洢��Temporary Internet Files�ļ����е���ʱ�ļ���������������ʹ����תҳ���ļ��滻��ǰҳ���ļ�����û�����cache��Ҳ����˵Temporary Internet Files��������ص���ʱ�ļ������ߴ���ʹ��������ջ��棬�ر���ҩ���������������˼�¼�����Գ�������Ŷ��

���������뵽��http://bbs.cnitom.com

����Ķ�

ͼ���ȵ�

���з��� IntelΪ�������ƶ�SSD�¹淶
���з��� IntelΪ�������ƶ�SSD�¹淶Ӣ�ض�����Ϊ ������ �ƶ�SSD�¹淶��Ӣ�ض�Ŀǰ����Ѱ����PC���̺�NAND��˾����...
�����������������Ǽ�������
�����������������Ǽ���������ӹ���ɣ������ѳ�Ϊ��ҵ����Ҫ�ʲ���Ҳ����ҵ����������Ҫ��������ҵҵ��ijɹ�...

�����ȵ�