On Tue, Sep 30, 2008 at 5:55 PM, Rob Heittman <[EMAIL PROTECTED]>wrote:

> P.S.  Since Restlet doesn't do it on its own yet, here's my browser
> identity cookie generator:
>
> http://gogoego.googlecode.com/svn/trunk/modules/RestletFoundation/src/com/solertium/container/CookieUtility.java
>

Thanks for this!

Slight problem with newUniqueID(), though. Synchronizing on incr doesn't do
anything. How about using AtomicLong and masking out the high bits?

--tim

Reply via email to