Re: [cgiapp] CGI::Session::ID::md5-generate_id data collision

2006-03-08 Thread Strong
On Tue, 10 Jan 2006 14:04:10 -0500 Perrin Harkins [EMAIL PROTECTED] wrote: value=3:1136895378:84eb13cfed01764d9c401219faa56d53 Excuse me, is there a Perl function or whatever that makes it possible to generate such a string consisting of the letters and digits? -- Best regards, Strong.

Re: [cgiapp] CGI::Session::ID::md5-generate_id data collision

2006-03-08 Thread Strong
I can't understand why You do not simply use a huge random ids? Because random ne unique, and if you get one that isn't unique, you will have problems. Random also doesn't mean someone can't get lucky and hit one if they write a script to try IDs all day. Thanks for explanation! I got it.

Re: [cgiapp] Re: Run modes and Ajax.pm

2006-03-08 Thread Jonathan Mangin
Hi, I use CGI::Application::Dispatch to avoid hidden runmodes. CGI::Ajax (at least the way I use it) requires that you tell the form which inputs to submit. So you could do something like this w/ Javascript: (for the button): onclick = return doGetDoctors(); And, assuming you've

Re: [cgiapp] CGI::Session::ID::md5-generate_id data collision

2006-03-08 Thread Perrin Harkins
On Wed, 2006-03-08 at 17:13 +0300, Strong wrote: I can't understand why You do not simply use a huge random ids? Because random ne unique, and if you get one that isn't unique, you will have problems. Random also doesn't mean someone can't get lucky and hit one if they write a script to

Re: [cgiapp] CGI::Session::ID::md5-generate_id data collision

2006-03-08 Thread Perrin Harkins
On Wed, 2006-03-08 at 17:13 +0300, Strong wrote: On Tue, 10 Jan 2006 14:04:10 -0500 Perrin Harkins [EMAIL PROTECTED] wrote: value=3:1136895378:84eb13cfed01764d9c401219faa56d53 Excuse me, is there a Perl function or whatever that makes it possible to generate such a string consisting of the