Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread default session under client/server
Mon, Feb 13 2006 8:15 PMPermanent Link

Jaweed Saleem
Hi,

Is it possible to NOT use the default session? We've got a specific
session that is used throughout the whole application and it get's set
to multi-user, client/server etc. At the moment, I've got code that just
assigns this sessions properties to the default session and therefore on
the server, it creates two sessions for every client. I'd like to *turn
off* this default session completely and use our specific session, if
any of the database components haven't got their session name property
set to use the specific session then i'd just like it to error, so that
I can fix it up.

Does the above make sense?

we're using DBISAM v3.21 and Delphi 5.

Thanks in advance,
Tue, Feb 14 2006 1:48 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Jaweed,

<< Is it possible to NOT use the default session? >>

Sure, just make sure that you attach all other components to the new session
via their SessionName properties, though.

<< I'd like to *turn off* this default session completely and use our
specific session, if any of the database components haven't got their
session name property set to use the specific session then i'd just like it
to error, so that I can fix it up. >>

That, unfortunately, is not possible if the SessionName property is blank.
In such a case, DBISAM will use the default session no matter what you do.
However, you can set the default session's Active property to False after
opening up all tables and queries, and then check and see which tables
and/or queries are not inactive.  That will tell you which components are
still using the default session.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image