• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unique ids
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unique ids


  • Subject: Re: Unique ids
  • From: Georg Tuparev <email@hidden>
  • Date: Wed, 14 May 2003 22:38:07 +0200

Art,

Here is typical URL encoded string produced with EOTemporaryGlobalID.

d å√Uı&n‡ >·kÒ

My esthetic soul is not satisfied ;-)

gt

P.S. Compared it with the much more civilized SessionID...

On Wednesday, May 14, 2003, at 20:22 Europe/Amsterdam, Art Isbell wrote:

If I recall, NSProcessInfo could provide a globally unique string by concatenating the host name, process ID, and a time stamp. In a multithreaded WO app on a multiprocessor computer, it is theoretically possible that more than one session could create identical strings using this approach. EOTemporaryGlobalID uses 3 similar values plus a sequence number that should ensure uniqueness, so this should be better. But since it is comprised of similar values to those used by NSProcessInfo, is it really uglier?

-- georg --

"More Trees, less Bushes!"
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Unique ids
      • From: David Aspinall <email@hidden>
References: 
 >Re: Unique ids (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Attempt to insert null key into a com.webobjects.foundation.NSMutableDictionary
  • Next by Date: Database of choice...
  • Previous by thread: Re: Unique ids
  • Next by thread: Re: Unique ids
  • Index(es):
    • Date
    • Thread