Assuming non-UUID's: Theoretically, yes.  The CFID is only 4 digits long,
and the CFTOKEN is 8 digits long.  As a combination, this works out to about
100 billion unique values.  If you have more sessions than that, I'm sure
you have bigger problems!  However, I'm one of those mathematical geeks that
will only use a value for uniqueness if you can guarantee *pure* uniqueness.

Of course, by themselves, CFID and CFTOKEN would have a higher probability
of duplicate values, since you can only have 10,000 different CFID values
and 100,000,000 different CFTOKEN's.

----- Original Message -----
From: "Dave Carabetta" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 11:45 AM
Subject: Re: Global UUID and Client vars


> Billy,
>
> Actually, unless I'm reading what you wrote the wrong way, everybody who
> uses SESSION or CLIENT variables is counting on unique CFIDs (and CFTOKENS
> for that matter). That's how the user gets identified.
>
>
> Am I wrong?
>
> Dave.
>
>
> ----Original Message Follows----
> From: "Billy Cravens" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: Re: Global UUID and Client vars
> Date: Wed, 16 Jan 2002 11:04:27 -0600
>
> This doesn't really answer your question, but it seems like you're
counting
> on unique CFID's - seems like I read somewhere that this is not something
> that you can count on.  (though UUID's are supposedly globally unique)
>
> ----- Original Message -----
> From: "Dave Carabetta" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, January 16, 2002 10:01 AM
> Subject: Global UUID and Client vars
>
>
>  > A couple quick questions:
>  >
>  > 1. Where and what is the registry key that needs to be modified on a
> Solaris
>  > box to make the CFID generate a Global UUID instead of a sequential
> number?
>  >
>  > 2. If CF is upgraded, say from CF 4.01 to 4.5, do the counters that CF
> keeps
>  > track of to generated the sequential CFID get reset? Where is the last
>  > number assigned stored?
>  >
>  > Thanks in advance,
>  > Dave.
>  >
>  > _________________________________________________________________
>  > MSN Photos is the easiest way to share and print your photos:
>  > http://photos.msn.com/support/worldwide.aspx
>  >
>
> 
______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to