Hi,
Would a pseduo random number be good enough?
my ($confid);
my @passset = ('a'..'z', 'A'..'Z', '1'..'9');
for (my $i = 0; $i < 16; $i++) {
my $randum_num = int(rand($#passset + 1));
$confid .= $passset[$randum_num];
}
I also do not understand the point in maintaining a session state? Can't someone keep generating new sessions and use it over and over again?
Am I worried too much? Who cares if theres 10,000 unnecessary records, it'll be deleted in 3 hrs (I do run a chron script deleting rows with expired time). ?
thank you