the request only can be added to the AddGetHandler proc. and it can not using the MASK. eg:
myweb.AddGetHandler('/*.asp',tasp_proc); can be?? that is why i will use the Tsrv_myapp.mywebGetDocument proc. because it can be hold everything. btw,.AddGetHandler is a thread work mode?? myiisvif From: François Piette Date: 2013-04-17 02:25 To: 'ICS support mailing' Subject: Re: [twsocket] i using the THttpAppSrv in my app > i found if i call the wmi ole object to get wmi data,THttpAppSrv will hung and lose the 80 connection. >procedure Tsrv_myapp.mywebGetDocument(Sender, Client: TObject; > var Flags: THttpGetFlag); >the call the wmi object............... >for just two or three times. >why? bug? I'm not sure I understand clearly your problem... If the call you are doing is blocking, then you should consider moving it to a worker thread so that THttpAppSrv can serve other connections meanwhile. You may call AnswerXXX and Finish when the thread has finished his work. -- francois.pie...@overbyte.be Embarcadero MVP http://www.overbyte.be http://francois-piette.blogspot.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be