国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > ASP > 正文

javascript asp教程第十課--global asa

2020-07-27 13:14:12
字體:
來源:轉載
供稿:網友

Global.asa:

First of all, what is a global.asa? It's an optional script file that holds certain "global" information that you can access through the entire ASP appliciation. The global.asa is a plain text file saved with the .asa extension.

You should only have one global.asa and it should go in your top level directory.

Below is an example global.asa file. Don't try to understand the script just yet. We'll get to the specifics in the next two lessons.

<OBJECT RUNAT=Server SCOPE=Session ID=MyInfo PROGID="MSWC.MyInfo"></OBJECT><SCRIPT RUNAT="Server" LANGUAGE="JavaScript">function Application_OnStart()	{	Application("someVariableName")="some value"	}function Application_OnEnd()	{	Application.Contents.RemoveAll()	}function Session_OnStart()	{	Session.Timeout=15	}function Session_OnEnd()	{	//Do Nothing	}</SCRIPT><!-- METADATA TYPE="typelib" FILE="C:/Program Files/Common Files/System/ado/msado15.dll" -->

List of Can Do's:

There are four things you can do with a global.asa.

1) Object Declarations
2) Application Events
3) Session Events
4) Library Reference.

I don't expect you understand any of that yet. Just remember, there are only a few things we can do with the global.asa. Let's move on to lesson 11.

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 丽江市| 大同市| 涿鹿县| 虎林市| 衡阳市| 临朐县| 盘锦市| 紫阳县| 香河县| 金秀| 宜春市| 海兴县| 教育| 沈阳市| 五寨县| 镇坪县| 纳雍县| 义乌市| 建德市| 水富县| 肇东市| 芒康县| 横峰县| 西林县| 承德县| 黄浦区| 河北省| 石台县| 色达县| 德兴市| 临朐县| 淳安县| 肃宁县| 图木舒克市| 西青区| 舟山市| 荣昌县| 望奎县| 咸宁市| 瑞丽市| 册亨县|