Dunno if it's the "best" way, but you could generate a bunch of random
bytes and format them into a UUID. There are some rules about
randomly-generated UUIDs--something about certain fields within the
UUID having certain values--but I think that information is probably
at the other end of a Google search.
Ian
--
Tired of pop-ups, security holes, and spyware?
Try Firefox: http://www.getfirefox.com