On Saturday 26 May 2007 03:08:48 pm Perrin Harkins wrote: > On 5/26/07, Bill Moseley <[EMAIL PROTECTED]> wrote: > > Perhaps an easier way to show the problem with duplicate created > > sessions would help. > > Do you mean duplicate or multiple? The session ID generation code in > Catalyst::Plugin::Session does look like it could generate duplicates > to me, but that would be rare and unpredictable. >
Please keep in mind that by "rare", he means that you would have to generate 2317195645184714165087019331424 sessions per second for 10000000000 years in order to have a 50% chance of colliding with an existing session. In other words, don't worry about duplicate session IDs. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
pgpyhfDHjc8lz.pgp
Description: PGP signature
_______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/