Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Session Open
Thu, Dec 14 2006 5:06 PMPermanent Link

Stephane Lariviere
Hi everyone,

I want to know, after open session like this:

DBISAMSession1.Open;

What can test is the user or password is correct?
Thu, Dec 14 2006 5:12 PMPermanent Link

Jason Lee
Stephane,

Assuming you are talking about a remote session using client/server, you
will get an error message/exception after trying to log in without the
correct username and password or you will be prompted for a username and
password, depending upon how you have it set up. After connecting
successfully, the session's Active property will be true.

if DBISAMSession1.Active then   //yes, the session is connected
....

Regards,

Jason Lee

Stephane Lariviere wrote:
> Hi everyone,
>
> I want to know, after open session like this:
>
> DBISAMSession1.Open;
>
> What can test is the user or password is correct?
>
Image