ASP中OracleInProcServer.XOraSession,OraSession怎么总是丢失?
<OBJECT RUNAT=Server SCOPE=Application ID=OraSession PROGID="OracleInProcServer.XOraSession"></OBJECT>
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
'This file contains functions that are executed at the sturtup and
' shutdown of the web server and at the beginning and end of a user session.
'In Application_OnStart subroutine, we initialize a connection pool that will
' be used throughout the web site to connect to the Oracle database.
' Connection pools are particularly suited for web sites that must both provide
' dynamic content from a database and support large concurrent user populations.
' Connection pooling allows the web site to perform faster.
Sub Application_OnStart
'Create a pool of Oracle DBs. Initsize=20, maxsize=100, timeout=600 (in secs),
' alias name = testalias, Username/Password = scott/tiger (The user should note
' that the alias name must already have been created using Oracle Net8 Easy Config
' tool.)
OraSession.CreateDatabasePool 20, 100, 600, "oracle9", "aaa/bbb", 0
'OraSession.CreateDatabasePool 20, 100, 600, "oracle8", "aaa/bbb", 0
End Sub
</SCRIPT>
Oracle8是正常的,Oracle9的ORASESSION怎么总是丢失?