不太常用但必须要知道的一些ASP语句
清空缓存
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "cache-ctrol", "no-cache"
Response.CacheControl = "no-cache"
Response.Flush
产生随机数种子
randomize timer()
纯ASP页面声明GB2312编码
<%@ CODEPAGE=936 %>
<% Response.CodePage=936 %>
<% Response.Charset="gb2312" %>
纯ASP页面声明UTF-8编码
<%@ CODEPAGE=65001 %>
<% Response.CodePage=65001 %>
<% Response.Charset="UTF-8" %>
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "cache-ctrol", "no-cache"
Response.CacheControl = "no-cache"
Response.Flush
产生随机数种子
randomize timer()
纯ASP页面声明GB2312编码
<%@ CODEPAGE=936 %>
<% Response.CodePage=936 %>
<% Response.Charset="gb2312" %>
纯ASP页面声明UTF-8编码
<%@ CODEPAGE=65001 %>
<% Response.CodePage=65001 %>
<% Response.Charset="UTF-8" %>
相关文章
本文标签: ASP
本文作者:漫游
文章标题: 不太常用但必须要知道的一些ASP语句
本文地址:http://www.roammemo.com/html5/28.html
版权声明:若无注明,本文皆为“漫游的备忘录”原创,转载请保留文章出处。
本文地址:http://www.roammemo.com/html5/28.html
版权声明:若无注明,本文皆为“漫游的备忘录”原创,转载请保留文章出处。