J
Joki
Unregistered / Unconfirmed
GUEST, unregistred user!
用Delphi5做了一个简单的ASP MTS组件,使用了Multiple Instance和Apartment,
在网页中调用刷新稍快一点就出现"The requested resource is in use",局域网
中的机子只要是同时访问也会出现这样的问题,怎么解决啊?
源代码如下:
......
procedure TTest.Test;
begin
response.Write('<p>abcdefgsdfsdfasdfaf</p>');
end;
......
ASP网页中:
<HTML>
<BODY>
<TITLE> Testing Delphi ASP </TITLE>
<CENTER>
<H3> You should see the results of your Delphi Active Server method below </H3>
</CENTER>
<HR>
<% Set DelphiASPObj = Server.CreateObject("Project1.Test")
DelphiASPObj.Test
%>
<HR>
</BODY>
</HTML>
在网页中调用刷新稍快一点就出现"The requested resource is in use",局域网
中的机子只要是同时访问也会出现这样的问题,怎么解决啊?
源代码如下:
......
procedure TTest.Test;
begin
response.Write('<p>abcdefgsdfsdfasdfaf</p>');
end;
......
ASP网页中:
<HTML>
<BODY>
<TITLE> Testing Delphi ASP </TITLE>
<CENTER>
<H3> You should see the results of your Delphi Active Server method below </H3>
</CENTER>
<HR>
<% Set DelphiASPObj = Server.CreateObject("Project1.Test")
DelphiASPObj.Test
%>
<HR>
</BODY>
</HTML>