more useful options | |
PerlMonks |
Session ID Generator (Rolled My Own)by jerrygarciuh (Curate) |
on Sep 14, 2002 at 23:15 UTC ( [id://197948]=perlquestion: print w/replies, xml ) | Need Help?? |
jerrygarciuh has asked for the wisdom of the Perl Monks concerning the following question:
Fellow Monks, I wanted to present the following subroutine for critique. It is cobbled together from code in Camel (2nd) and a post somewhere on PM from a long ways back. I wanted to know what folks thought of it as a random session/transaction ID generator. I need something sufficiently random that the kiddies won't be able to jack sessions by guessing the ID sequence. Is the following sub sufficient to my aims? _____________________________________________________ "The man who grasps principles can successfully select his own methods. The man who tries methods, ignoring principles, is sure to have trouble. ~ Ralph Waldo Emerson
Back to
Seekers of Perl Wisdom
|
|