Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

How to limit connections with local server..

2 posts in Delphi Last posting was on 2012-01-04 14:46:39.0Z
Pedro Posted on 2012-01-03 18:12:12.0Z
Date: Tue, 03 Jan 2012 15:12:12 -0300
From: Pedro <info@advantage.com.uy>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
Newsgroups: Advantage.Delphi
Subject: How to limit connections with local server..
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.40.190.118
Message-ID: <4f0336e3@solutions.advantagedatabase.com>
X-Trace: 3 Jan 2012 09:12:03 -0700, 200.40.190.118
Lines: 20
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Delphi:25592
Article PK: 1109171

Hi, all. We've developed an application with local server max 3 users and
for more users we suggest to buy ADS.

We know that ALS supports 5 users so, how can we test if there are 3 users
already connected and with the 4th user that tries to connect, refuse him
and display a message, etc etc..

And in other cases the same application it's used by 5 users, so we also want
to "catch" the 6th user an avoid the 7003 ads error and show our own error
message.

Many thanks.

Best regards and happy new year.

Pedro


Joachim Duerr (ADS) Posted on 2012-01-04 14:46:39.0Z
From: "Joachim Duerr (ADS)" <jojo.duerr@gmx.de>
Subject: Re: How to limit connections with local server..
Newsgroups: Advantage.Delphi
References: <4f0336e3@solutions.advantagedatabase.com>
Date: Wed, 4 Jan 2012 15:46:39 +0100
User-Agent: XanaNews/1.19.1.269
X-Face: u2p+</,mb|Ah!x!/qxX5q0t:O~.<1&JzwNHYhSqcviY{~&|iDc"U.Je1A.ZeHR`d;;y#R
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 10.29.66.130
Message-ID: <4f0465e9$1@solutions.advantagedatabase.com>
X-Trace: 4 Jan 2012 06:44:57 -0700, 10.29.66.130
Lines: 21
Path: solutions.advantagedatabase.com
Xref: solutions.advantagedatabase.com Advantage.Delphi:25597
Article PK: 1109176


Pedro wrote:

>Hi, all. We've developed an application with local server max 3 users
>and for more users we suggest to buy ADS.
>
>We know that ALS supports 5 users so, how can we test if there are 3
>users already connected and with the 4th user that tries to connect,
>refuse him and display a message, etc etc..
>
>And in other cases the same application it's used by 5 users, so we
>also want to "catch" the 6th user an avoid the 7003 ads error and
>show our own error message.

Pedro,
you should contact Sales and/or support. They're able to assist you
with your issue.

--
Joachim Duerr, Advantage Presales
*** NEW *** Advantage Pocket Guide released *** NEW ***
http://pocketguide.jd-engineering.de