首 页 ASP ASP.NET PHP JSP Ajax DIV+CSS JavaScript XML C#
MySQL MSSQL Access Oracle Linux Server 电脑技巧 网络安全 建站经验 其它

ASP六大对象常用语句示范

整理日期:2007年08月05日 【字体:

Response:

Response.write StrVar/"String":向网页写出参数值或字符串 等同于在Html标记中嵌入<%=StrVar/"String"%>

Response.End:停止页面编译,并将已经编译内容输出到浏览器

Response.Buffer=True|False:页面编译时是否使用缓存的设置,一般在页面头部设置

Response.Flush:强制输出页面已编译部分内容

Response.Clear:将缓冲区内的数据清除

Response.Redirect URL:停止页面编译或输出,转载指定所需页面

Response.IsClientConnected:返回True|False,检测用户是否还处于连接状态

Response.Charset(CharsetName):设置页面编码类型,即<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

Response.ContentType [= ContentType ]:设置页面文件类型,同上

Response.Expires [= number]:设置页面失效时间,单位分钟

Response.ExpiresAbsolute [= [date] [time]]:设置页面失效的绝对时间

Response.Status = StatusDescription:设置页面状态描述

Request:

Request("PassStrName"):读取网页传递值,包括表单及以?PassStrName=value&PassStrName_n=value_n形式

Request[.collection|property|method](variable)

伊图教程网[www.etoow.com]
http://www.etoow.com/html/2007-08/1186286278.html

Tags:
ASP六大对象常用语句示范
'http://www.etoow.com/html/2007-08/1186286278.html
1
 
2
信息搜索
  
联系我们关于本站广告服务设为首页 收藏本站友情链接网站地图
Copyright © Etoow.com Inc. All Rights Reserved