最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

javascript asp教程第十課--global asa

 更新時(shí)間:2007年03月02日 00:00:00   作者:  

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.

相關(guān)文章

最新評(píng)論

松溪县| 察哈| 彰化市| 凤翔县| 抚宁县| 安阳县| 泾阳县| 兰州市| 柳林县| 阿克| 岱山县| 平南县| 吴堡县| 理塘县| 平舆县| 鄂伦春自治旗| 惠州市| 车险| 旬邑县| 昌乐县| 鄂托克前旗| 德阳市| 安西县| 新巴尔虎右旗| 兴安盟| 丰台区| 水富县| 长丰县| 乌什县| 洛川县| 汶川县| 荆州市| 南安市| 尚义县| 汶上县| 交城县| 夏邑县| 金寨县| 岳池县| 雷波县| 手游|