[Zope-dev] Globally Unique Object Ids

Jason Spisak webmaster@mtear.com
Mon, 19 Jul 1999 11:25:09 -0800


Zopsters,

Is there a way to genereate globally unique object ids for use with a
Zope app.  I notices the ZClasses has this sort of thing.  I used to use
a counter property of the root folder and call an update with creation
of an object like so, <!--#call
"PARENTS[-2].manage_changeProperties(counter=counter+1)"-->, but now
with concurrency that's not *really* safe, plus this code doesn't seem
to work at a certain level in the hirearchy.  It doesn't add to the
counter.  Any suggestions on a glabally unique object ids.

Jason Spisak
webmaster@mtear.com