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 

Connections & Sessions

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Apr 19, 2007 9:01 pm    Post subject: Connections & Sessions Reply with quote



I am Using Delphi 7 & Intraweb 9.X - building an ISAPI DLL.

The DLL has a welcome screen, then the user clicks the continue
button.

Upon the click of the continue button, it checks for the existence of
a particular Alias on the server machine.
If the alias exists, it connects to the database (interbase).

Question 1:

If another user loads the DLL, how many instances of the DLL are
actually loaded?

Question 2:

If another user loads the DLL, how many connections to the database
are actually made?

Where does the notion of usersessions come into play?


THanks?
Back to top
Jason Southwell
Guest





PostPosted: Tue Apr 24, 2007 8:33 pm    Post subject: Re: Connections & Sessions Reply with quote



Quote:
If another user loads the DLL, how many instances of the DLL are
actually loaded?

There is only ever one copy of the DLL loaded in memory at a time.

Quote:
If another user loads the DLL, how many connections to the database
are actually made?

It depends on how you have it developed. If your data components are on
the usersession, you will get one per user. If your data components are
on a pooled data module, then you will only get as many connections as
are in your pool.

Quote:
Where does the notion of usersessions come into play?

I don't follow the question. UserSessions are a user based datamodule
that you use for whatever you want created on a per user basis.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb) 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.