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

首頁 > 編程 > ASP > 正文

javascript asp教程第十課--global asa

2024-05-04 10:58:18
字體:
來源:轉載
供稿:網友

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.

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 韩城市| 青海省| 禹州市| 景洪市| 高碑店市| 凌源市| 庐江县| 建阳市| 怀远县| 景洪市| 侯马市| 建阳市| 连云港市| 西畴县| 尼勒克县| 涞源县| 新河县| 达日县| 合山市| 辉南县| 曲阳县| 舞阳县| 五寨县| 遵义市| 阳原县| 遂川县| 石嘴山市| 齐河县| 比如县| 突泉县| 安平县| 东阳市| 桂林市| 光山县| 沈丘县| 伊吾县| 牙克石市| 成武县| 龙山县| 玛多县| 泰州市|