BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ISAPI dll and Web Application Debugger

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sat Feb 17, 2007 12:16 am    Post subject: ISAPI dll and Web Application Debugger Reply with quote



Hello,

I'm creating an ISAPI dll and I need to be able to debug the
application. I've tried hooking into iis and have had some success
with that but have also had problems with it. If I am forced to I may
go back to that set up.

Right now I'm trying to set up the Web Application Debugger and it
seems as though there are some major differences between the ISAPI and
the WAD. I started with blank project group and then created an ISAPI
project then the WAD executable project. I added the Webmodule from
the ISAPI to the WAD. I set up a default WebActionItem (mtAny) and an
associated event handler. In the event handler I return some text for
testing. Up to this point everything works fine.

But I noticed that when I call the dll from IIS the WebModule does not
get initialized but when I run the WAD it does. My test goes something
like this:

procedure TWebModule1.WebModule1WebActionItem1Action(Sender: TObject;
Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
begin
if (WebModule1 = nil) then begin
Response.Content := ' WebModule not available ';
Handled := true;
end else begin
Response.Content := ' WebModule is available ';
Handled := true;
end;
end;

Eventually, I need to have a global database connection pool and a
local XML document (one for each request). The XML document will be
part of the WebModule because as far as I know a new WebModule is
instantiated for each web request.

Am I on the right track here? Has anyone had much luck using the Web
Application Debugger?

Thanks in advance,
Neil
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.