主页 > 知识库 > javascript asp教程第十课--global asa

javascript asp教程第十课--global asa

热门标签:兰州智能语音电销机器人功能 宁夏怎么申请400电话 企数外呼系统能用多久 常用地图标注范围点 外呼回拨系统图片 为什么外呼系统需要预存话费呢 咸阳销售外呼系统 办理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.

标签:温州 铁岭 昆明 家电维修 丽江 泰州 咸阳 昌都

巨人网络通讯声明:本文标题《javascript asp教程第十课--global asa》,本文关键词  javascript,asp,教程,第十,课,;如发现本文内容存在版权问题,烦请提供相关信息告之我们,我们将及时沟通与处理。本站内容系统采集于网络,涉及言论、版权与本站无关。
  • 相关文章
  • 下面列出与本文章《javascript asp教程第十课--global asa》相关的同类信息!
  • 本页收集关于javascript asp教程第十课--global asa的相关信息资讯供网民参考!
  • 企业400电话

    智能AI客服机器人
    15000

    在线订购

    合计11份范本:公司章程+合伙协议+出资协议+合作协议+股权转让协议+增资扩股协议+股权激励+股东会决议+董事会决议

    推荐文章