p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: session timeout & decoupling background process


Message #1 by "Andrew CW" <andrewcw@e...> on Wed, 21 Mar 2001 23:26:10
- My application times out in less than 6 minutes. And the launched 
process seems to die. ( This is not a COM+ component, but maybe I should 
have made it so )

Any suggestions as how to decouple the dependency and / fix the timeout ?

<%@ Language=VBScript %>
<!-- #INCLUDE FILE="vss.inc" -->
<% 
   dim vssfilecache
   dim thisVSSDB
   dim successmsg
   dim vssinfo
   dim theobjstr 
   dim thefilecache

successmsg="not started to built cache file"
vssinfo =  vssinfostr()
thefilecache=getvsshfilecache()
theobjstr=vssobjectstr()
      
	set thisVSSDB = Server.createobject(theobjstr)
	'on error resume next     ' TIMES OUT HERE:make_hfolders_cache
	successmsg= thisVSSDB.make_hfolders_cache(vssinfo, cachePath)
	if instr(successmsg,"SUCCESS") then ' 
             response.redirect("vsshselectprojects.asp")
else'
	successmsg= "Could Not Run method make_hfolders_cache " & "</br>" 
& successmsg &  "</br>2 parameters: " & vssinfo &  "</br>" & cachepath

	end if

   
%>

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY>
<%=successmsg%>
<P> </P>

</BODY>
</HTML>

  Return to Index