Michel have you checked out using uuid?

I am not an expert on it but it seems to be what you are looking for and 
quite straightforward to use.
#CreateUUID()#

the docs have more info....




Dave Seddon  (p) 997-1803
Internet Software Support Specialist
Workplace Information Directorate, HRDC-DRHC
e-mail:   [EMAIL PROTECTED]
Web: http://labour.hrdc-drhc.gc.ca

---------- Original Text ----------

From: "Michel Rouse" <[EMAIL PROTECTED]>, on 2002-04-02 3:01 PM:

Unfortunately, my structure does not allow for an easy check because the
data can be stored in a number of tables, and in a number of databases,
(or not at all).  This is why I need a truly unique number.  Perhaps I
will stick with the timestamp to be safe.

Is there any way to display the current time in a pure number format?

Michel

Shane Von Svoboda wrote:

> I believe it is uniquely generated per browser instance (as a true
> random number) but I�m not 100% sure the number is every used again.
> Can you just generate a true random number and check it against the DB
> and make sure the number does not exist? Or before you commit to the
> CFID and Token, do a check as mentioned above.
>
> -----Original Message-----
> From: Michel Rouse [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 02, 2002 2:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFTALKTor] CFID, CFTOKEN and beyond!
>
> Does the term unique mean unique to that moment in time, or unique as
> in never duplicated?
>
> What I would like to do is use some sort of unique identifier as a
> primary key in a table.
>
> I am currently using CFID-CFTOKEN-TimeStamp, but I am wondering if the
> timestamp is necessary?
>
> Michel
>
> Shane Von Svoboda wrote:
>
> CFID is  a unique client ID. Part of the session key
> CF Token is a unique ID that forms part of the session key
>
> The ColdFusion server then attempts to match the CFID and Token on the
>
> client with the one set in memory on the server.
>
> -----Original Message-----
> From:   Michel Rouse [mailto:[EMAIL PROTECTED]]
> Sent:   Tuesday, April 02, 2002 1:57 PM
> To:     Toronto CFUG
> Subject:        [CFTALKTor] CFID, CFTOKEN and beyond!
>
> Hi,
>
> I've got some simple questions about CFID and CFTOKEN
>
> Is CFID unique?
>
> Is CFTOKEN unique?
>
> Is CFID & CFTOKEN combined unique?
>
> If I were to use the CFID & CFTOKEN as a primary key in a table, would
> I
> ever run the risk of duplicate entries?
>
> Thanks for the help,
> Michel
>
> --
> "Put your hand on a hot stove for a minute, and it seems like
> an hour. Sit with a pretty girl for an hour, and it seems like
> a minute. That's relativity."
>
> -- Einstein, Albert
> _______________________
>
> Michel Anthony Rouse
> Webmaster
> Steltor
>
> 2000 Peel street, 4th floor
> Montreal, Quebec
> H3A 2W5
> Canada
>
> tel: +1 (514) 733-8500 x-5001
> fax: +1 (514) 733-8878
> [EMAIL PROTECTED]
> www.steltor.com
>
> Toll free in North America: 1-800-675-2991
>
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: Michel Rouse <[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED])
> http://www.CFUGToronto.org/
> This System has been donated by Infopreneur, Inc.
> (http://www.infopreneur.net)
>
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: "Shane Von Svoboda"
> <[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED])
> http://www.CFUGToronto.org/
> This System has been donated by Infopreneur, Inc.
> (http://www.infopreneur.net)
>
> --
> "Put your hand on a hot stove for a minute, and it seems like
> an hour. Sit with a pretty girl for an hour, and it seems like
> a minute. That's relativity."
>
> -- Einstein, Albert
> _______________________
>
> Michel Anthony Rouse
> Webmaster
> Steltor
>
> 2000 Peel street, 4th floor
> Montreal, Quebec
> H3A 2W5
> Canada
>
> tel: +1 (514) 733-8500 x-5001
> fax: +1 (514) 733-8878
> [EMAIL PROTECTED]
> www.steltor.com
>
> Toll free in North America: 1-800-675-2991
>
--
"Put your hand on a hot stove for a minute, and it seems like
an hour. Sit with a pretty girl for an hour, and it seems like
a minute. That's relativity."

-- Einstein, Albert
_______________________

Michel Anthony Rouse
Webmaster
Steltor

2000 Peel street, 4th floor
Montreal, Quebec
H3A 2W5
Canada

tel: +1 (514) 733-8500 x-5001
fax: +1 (514) 733-8878
[EMAIL PROTECTED]
www.steltor.com

Toll free in North America: 1-800-675-2991



-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: [EMAIL PROTECTED]
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to