web tools rank checker

domain .cn
.net .cn .com.cn
你正在阅览 :: 简体中文:: 学习 ASP SQL VB HTML code

学习 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在阅览 :: 简体中文 Chinese_Simplified

学习.主题:
首页
ASP
. Active-Server-Flash
. Array
. Connection
. Count
. Counter
. Distinct
. Email
. File
. Folder
. Function
. GetSQLserver
. Header
. mySQL
. Record
. Recordset
. Request
. Response
»AddHeader
»charset
»ContentType
»expires
»Redirect
. Server
. Server-CreateObject
. ServerVariables
. Session
. Special-Symbols
. String
. Sub
. Time
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....学习.教学 > ASP > response » expires

3w learning

response >
expires

Title:

response.expires = 0


Description:

response.expires = 0


Example Code:

<% Response.Expires = 0 Response.Expiresabsolute = Now() - 1 Response.AddHeader "pragma","no-cache" Response.AddHeader "cache-control","private" Response.CacheControl = "no-cache" %>


该属性指定在浏览器上缓冲存储页,距过期还有多少时间。
如用户在某个页过期前又回此页,会显示缓冲区中页面。
但若设置 response.expires=0,可使缓存页面立即过期。
是个实用属性,当客户通过 ASP 登陆页面进入 WEB 站后,
应该利用该属性使登陆页面立即过期,确保安全。
Example Result:



..
...
...

[ 7/20/2008 ]

www learning school add more scripts and tips memo
You are at >>3WS.EZER.COM >> 3WS.EZER.COM/ASP/RESPONSE/EXPIRES.ASP>>ASP
Helpful link:: SEO web tools :: Live PR | SERP checker
back to top Ezer code adding :: Questions ;email