Robert, Atrix,

 

The USR is a md5 hash, yes… if you are using a single server, it is the users IP and a timestamp, however hashes are longer than the 24 chars that you see, 48 I think, in any case, Witango cuts off the end, so it is possible that two USRs created within a short time of each other, from the same user will match, or be extremely similar. If you are using multiple servers in a pool, the IP address and PORT value of the server on which the user is on is appended to the front of the USR and it is expanded to 36 characters. In all cases it is a Hex code and can be interpreted in pairs of characters from 0 to F. When I’ve used the USR as an identifier for myself, I’ve saved the entire USR in a char(36) column. You can always roll your own identifier with the @CIPHER tag.

 

Robert Shubert

Tronics

 

-----Original Message-----
From: Robert Garcia [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 11:50 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: User Reference

 

I believe the user reference is a one way md5 hash, based on the ip address of the user, and I think the time, and maybe something else. It is a hexidecimal string.

Robert.

On Wednesday, July 16, 2003, at 06:34 PM, Ben Johansen wrote:

I don’t think the userref is stored as hex Number, but of of course, when I look at my sample, there is no letter over F,

I think it is an Alphanumeric code and is not in HEX code?

If I am wrong sobeit ;-)

 

I will look in my archives, I know this hex to dec issue has been asked and answered

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm

-----Original Message-----
From:Atrix Wolfe[mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 4:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: User Reference

 

Hmm, so i guess maybe some parts are more likely to be unique than other parts.

 

Thanks for the info Ben...

 

oh wait, do you know if theres a way in witango to convert from hex to decimal and back?  I only wanted to store the first 5 digits to save on space but storing it as a number instead of text would save alot of space too i bet.

----- Original Message -----

From:Ben Johansen

To:[EMAIL PROTECTED]

Sent:Wednesday, July 16, 2003 4:04 PM

Subject:RE: Witango-Talk: User Reference

 

Userreference is assigned server side.

I don’t know what all goes into creating it, but I know time is a factor, and it is possible that the first few chars are base on Hour and Min. and it possible to have that time combo come up as a start to the userref multiple times during the day.

 

Using the first portion of user ref and not the whole will not necessarily be unique. You need to use the whole userref to guarantee uniqueness.

 

Either that or someone bookmarked a page with it in and sent it to someone else as a link and that someone else accessed that page prior to timeout  

 

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm
Authorized MDaemon Mail Server Reseller
http://www.pcforge.com/AltN.htm

-----Original Message-----
From: Atrix Wolfe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 3:57 PM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: User Reference

 

Hello everyone,

 

I posted this but it didnt apear so im reposting, sorry if it shows up twice!

 

When users log in we put some information in the database about them, including the first 5 digits of the user reference number so we can match it up in the log with user reference numbers easier.

 

We had a user log in on 6/30 with first 5 user ref digits of 5353C, then they logged in on 7/8 with DE1C4, and again on 7/9 with 5353C again (all from same IP).

 

I was wondering if it was likely that he got the same first 5 digits (or maybe all digits?) of a user reference number the same over a short period of time or maybe its an indiciation of something wrong?  I dont know if user references are generated client side or server side so i thought id ask and see if this was anything to worry about.

 

Thanks!

Atrix

________________________________________________________________________

TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

________________________________________________________________________

TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf


--

Robert Garcia
President - BigHead Technology
CTO - eventpix.com
2781 N Carlmont Pl
Simi Valley, Ca 93065
ph: 805.522.8577 - cell: 805.501.1390
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/ - http://theradmac.com/

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to