木子屋 Dnawo's BLOG

用ASP输出页面的描述信息

👤 dnawo 📅 2007-08-20 👁 5236 👍 0 💬 0 🔄 来源:本站原创
<meta>主要是用于描述页面的一些信息,如文档类型、使用语言、关键字、作者等,这些信息也可以用ASP来输出:

<%
Response.ContentType = "text/html"
Response.Charset = "gb2312"
Response.Expires = 0 
Response.Expiresabsolute = Now() - 1 
Response.AddHeader "pragma","no-cache" 
Response.AddHeader "cache-control","private" 
Response.CacheControl = "no-cache"
%>

评论(0)

暂无评论。

计算题
评论需审核通过后显示
← 上一篇 几款编辑器的性能对比 下一篇 → ServerXmlHTTP 对象方法和属性