避免回上頁殘值
避免回上頁殘值,設定Nocache使<Form>清空
設定No-cache # 1
response.setHeader( "Pragma ", "no-cache ");
response.setHeader( "Cache-Control ", "no-cache ");
response.setHeader( "Cache-Control ", "no-cache ");
設定 No-cache # 2
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
Response.Buffer = true
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
Response.Buffer = true
設定 META # 3
<META NAME="save" CONTENT="history">
設定 META # 4
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1990 00:00:00 GMT">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1990 00:00:00 GMT">