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/

Reply via email to