濮阳杆衣贸易有限公司

主頁 > 知識庫 > javascript asp教程第十課--global asa

javascript asp教程第十課--global asa

熱門標簽:蘭州智能語音電銷機器人功能 寧夏怎么申請400電話 企數(shù)外呼系統(tǒng)能用多久 常用地圖標注范圍點 外呼回撥系統(tǒng)圖片 為什么外呼系統(tǒng)需要預存話費呢 咸陽銷售外呼系統(tǒng) 辦理400電話一年多少錢 離線電子地圖標注軟件注冊

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.

標簽:溫州 鐵嶺 昆明 家電維修 麗江 泰州 咸陽 昌都

巨人網(wǎng)絡通訊聲明:本文標題《javascript asp教程第十課--global asa》,本文關(guān)鍵詞  javascript,asp,教程,第十,課,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡,涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《javascript asp教程第十課--global asa》相關(guān)的同類信息!
  • 本頁收集關(guān)于javascript asp教程第十課--global asa的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    大港区| 呼图壁县| 托克逊县| 卫辉市| 宣城市| 平阴县| 东乌珠穆沁旗| 花垣县| 上蔡县| 巴彦淖尔市| 定结县| 昌乐县| 呼图壁县| 南丰县| 平原县| 沙坪坝区| 镶黄旗| 肥西县| 普陀区| 汉川市| 萍乡市| 天全县| 新兴县| 城市| 潼关县| 永德县| 江口县| 陆川县| 武宁县| 阳曲县| 巴楚县| 琼海市| 庆元县| 文安县| 永兴县| 台南县| 乾安县| 衡山县| 石阡县| 麻江县| 青神县|