Data::UUID. Guaranteed unique. And if you are worried about performance (though it isn't really a problem), you can create one id for the process and just append a counter to it.
> > I'm not sure if this is a good idea [perhaps someone else can > comment], > but for the purpose of a session ID, you could combine MD5 with > something like the IP address of the user. Still not perfect since > two > users might have the same IP address if they are behind the same proxy > (I think...)... And it also assumes you aren't interested if the same > user returns later under a different IP address... > > Other options include the date of the initial visit (what are the odds > of a trillion visits in one day? :-) ). > > Ray > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users