Answer
所在版块:求学狮城 发贴时间:2003-04-26 17:52  评分:

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
One of the features of an application is that you can store information that is available to all clients that are accessing the application. This information is stored in what is know as an application-scope variable.

To initialize variables in the Application object, you store the information about them in a special ASP file named global.asa. Each application has only one global.asa, placed in the application root.

possible example of global.asa:

<script language="VBScript" runat="Server">

Sub Application_OnStart
Application("myAppVariable") = " "
Application("anotherAppVariable") = 0
End Sub

</script>
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

Put your OWN COOL signature here!
 相关帖子 我要回复↙ ↗回到正文
在ASP里, 篷篷   (29 bytes , 312reads )
Answer 大一的人   (623 bytes , 334reads )
its function is somehow similar to 大一的人   (68 bytes , 231reads )