Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
I've happily got it working with the default method, using files rather than a db, as demonstrated in the CGI::Session Cookbook * but I'm a bit baffled by the very sparse explanation in the MySQL variant.
I'm to use CGI::Session::MySQL? Or don't I need to, just use CGI::Session and tell it to use a MySQL driver? When I do so, I tell it a database handle, but ... then what? Should I connect to my database before I start using the module, it so that $dbh is already connected? I've tried that and it doesn't do anything, my sessions table in the db never contains any sessions.
Thanks in advance.
* The Cookbook has major glaring errors in it. It's lucky they're so glaring (filenames changing between open and close, arguments passed as sub($x, $y) in one place and as sub($y, $x) in another) or they'd be harder to fix. I wrote to the author and never heard back, who should I tell?
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print