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

javascript asp教程第十課--global asa

熱門標(biāo)簽:蘭州智能語音電銷機(jī)器人功能 寧夏怎么申請(qǐng)400電話 企數(shù)外呼系統(tǒng)能用多久 常用地圖標(biāo)注范圍點(diǎn) 外呼回?fù)芟到y(tǒng)圖片 為什么外呼系統(tǒng)需要預(yù)存話費(fèi)呢 咸陽銷售外呼系統(tǒng) 辦理400電話一年多少錢 離線電子地圖標(biāo)注軟件注冊(cè)

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.

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

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《javascript asp教程第十課--global asa》,本文關(guān)鍵詞  javascript,asp,教程,第十,課,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《javascript asp教程第十課--global asa》相關(guān)的同類信息!
  • 本頁收集關(guān)于javascript asp教程第十課--global asa的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章