ConnectionID question
    Ruslan Zasukhin 
    ruslan_zasukhin at valentina-db.com
       
    Tue Oct  9 07:44:54 CDT 2012
    
    
  
On 10/9/12 1:51 PM, "François Van Lerberghe" <frvanlerberghe at gmail.com>
wrote:
> le 9/10/12 9:50, Ruslan Zasukhin <ruslan_zasukhin at valentina-db.com> a
> écrit :
> 
>>> I want to rely on it to have a number unique to the client, but I need a
>>> number not greater than 20. If I know that this number is between, for
>>> example, 15 and 35, I could use a modulo function to meet my needs.
>>> 
>>> Can you say me more on this subject.
>> 
>> You need something else ...
>> 
>> Each client on next connect must give you same number?
> 
> No, just different from other connected user. This number can change on next
> connect, but cannot be greater than 20.
May be you need write then own alg,
Which transform this value  as
      ID  MOD 20
But you need yet control uniqueness
-- 
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
    
    
More information about the Valentina
mailing list