Subject | Re: [IBO] How to use IBO4 in ISAPI? |
---|---|
Author | Jason Wharton |
Post date | 2001-08-01T20:51:14Z |
I have not yet come to grips with the new Delphi 6 WebSnap stuff so I'm
going to have to defer making an authoritative statement.
But, this doesn't sound completely right. I think your connection and your
session should be on the same module.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
going to have to defer making an authoritative statement.
But, this doesn't sound completely right. I think your connection and your
session should be on the same module.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: <alexp772001@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, August 01, 2001 3:21 AM
Subject: [IBO] How to use IBO4 in ISAPI?
> Hi,
> I'm evaluating IBO4 with D6. I'm trying to create an ISAPI but I
> didn't find anything in the IBO Help. So this is the way I used:
>
> - on the dispatcher I put an IB_Connection.
> - on a datamodule (created at runtime) I put a IB_Session (which is
> the first in creation order) and a IB_Cursor.
>
> I do the following steps:
>
> oncreate: connect to the db.
>
> onbeforedispatch: create the datamodule and link all IB_Cursor or
> IB_Query to the IB_Connection.
>
> onaction: do something.
>
> onafterdispatch: destroy the datamodule.
>
> ondestroy: close the connection.
>
> I do all this in some try...except so I'm sure every component
> creation or db connection is followed by a destruction/disconnection.
>
> Is this the right way (I'd like to share the same connection for all
> users)? May I use a different method?
>
>
> Thank you very very much.
>
> Best Regards,
> Alessandro.
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>