
Hey guys how can I come up with a way of generating unique codes for identifying users in an online system? One that is not predictable? Thanks

Am not an expert on web stuff but how about logins? Online system sounds like one that would require users to log in. Their username/emails have to be unique On Tue, Apr 29, 2014 at 4:10 PM, Yvonne Murenga <yvymurenga@gmail.com>wrote:
Hey guys how can I come up with a way of generating unique codes for identifying users in an online system? One that is not predictable?
Thanks
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

Are you implying UUIDs<https://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_uuid>? If yes, read of its caveats in certain situations here<http://www.mysqlperformanceblog.com/2007/03/13/to-uuid-or-not-to-uuid/> . On Tue, Apr 29, 2014 at 4:20 PM, Bwana Lawi <mail2lawi@gmail.com> wrote:
Am not an expert on web stuff but how about logins? Online system sounds like one that would require users to log in. Their username/emails have to be unique
On Tue, Apr 29, 2014 at 4:10 PM, Yvonne Murenga <yvymurenga@gmail.com>wrote:
Hey guys how can I come up with a way of generating unique codes for identifying users in an online system? One that is not predictable?
Thanks
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Regards, Peter Karunyu -------------------

I recommend UUID (RFC 4122). You can then encrypt the string and store it on the client as a cookie to maintain state. Kind regards, David Njuguna On Tue, Apr 29, 2014 at 4:36 PM, Peter Karunyu <pkarunyu@gmail.com> wrote:
Are you implying UUIDs<https://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_uuid>? If yes, read of its caveats in certain situations here<http://www.mysqlperformanceblog.com/2007/03/13/to-uuid-or-not-to-uuid/> .
On Tue, Apr 29, 2014 at 4:20 PM, Bwana Lawi <mail2lawi@gmail.com> wrote:
Am not an expert on web stuff but how about logins? Online system sounds like one that would require users to log in. Their username/emails have to be unique
On Tue, Apr 29, 2014 at 4:10 PM, Yvonne Murenga <yvymurenga@gmail.com>wrote:
Hey guys how can I come up with a way of generating unique codes for identifying users in an online system? One that is not predictable?
Thanks
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Regards, Peter Karunyu -------------------
_______________________________________________ skunkworks mailing list skunkworks@lists.my.co.ke ------------ List info, subscribe/unsubscribe http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------
Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
participants (4)
-
Bwana Lawi
-
David Njuguna
-
Peter Karunyu
-
Yvonne Murenga