unique_id_numbers

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



From: tony@svanstrom.com (Tony L. Svanstrom)
Subject: Re: Generating unique ID's for shopping carts
Reply-To: tony@svanstrom.com (Tony L. Svanstrom)
Organization: svanstrom.com
References: <8q99ho$9oh$1@nnrp1.deja.com>
Message-ID: <1eh8zfw.1gy7hmccxa2m5N%tony@svanstrom.com>
Newsgroups: comp.infosystems.www.authoring.cgi
Approved: Self-Moderation <authoring-cgi@boutell.com>
NNTP-Posting-Host: 204.137.133.236
Date: 19 Sep 2000 23:05:58 -0600
X-Trace: 19 Sep 2000 23:05:58 -0600, 204.137.133.236
Lines: 37
X-Original-NNTP-Posting-Host: 204.157.220.254
Path: nntp.stanford.edu!newsfeed.stanford.edu!arclight.uoregon.edu!enews.sgi.com!nntp.primenet.com!nntp.gblx.net!nntp-cust.primenet.com!huge.aa.net!204.137.133.236
Xref: nntp.stanford.edu comp.infosystems.www.authoring.cgi:92484

R.Joseph <streaking_pyro@my-deja.com> wrote:

: I have seen a plethora of shopping cart scripts that all produce unique ID
: numbers for each 'shopper' (ie: IP or current user) that comes along.
: These are usually in hexadecimal and seem to randomly generated, and are
: usually fairly long (some I have seen were 64 digits or more).
: 
: Is there a place where I could find good algorithims, or could someone
: show me a good one, that do this type of thing?  Or maybe even point me in
: the right direction so that I can figure it out for myself?  Thanks!

Use what i use, time and process number: 969425940-14050 (that's "time"
and "$$" in Perl).

If you want to view it in action then just take a look at the cookies
being set when you access the URL in my sig. Since I can't control the
headers set when you go via that index-page (hey, the account is cheap,
so i put up with it) they are set using JavaScript, so all you have to
do is check the source. If you really want to see them set the real way
you can use this one instead:
<http://www.svanstrom.com/cgi-bin/theGuide.pl?ref=news>


     /Tony
-- 
     /\___/\ Who would you like to read your messages today? /\___/\
     \_@ @_/  Protect your privacy:  <http://www.pgpi.com/>  \_@ @_/
 --oOO-(_)-OOo---------------------------------------------oOO-(_)-OOo--
   on the verge of frenzy - i think my mask of sanity is about to slip
 ---

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu