Hello Monks!
I'm using Apache::Session::MySql but i can't make that works, it not save data except _session value
# This is a previous connection my $dbh = DBI->connect('DBI:mysql:database=test;host=localhost', 'root +', ''); $dbh->do(q{SET NAMES utf8}); our %session = (); tie %session, 'Apache::Session::MySQL', undef, { Handle => $dbh, LockHandle => $dbh }; $session{some} = "asdfa5s4fd5s45f4d56af5"; # It's not saved $dbh->disconnect;
In theory this must be work, but it doesn't, i used too tied(%session)->save but nothing happend, i'm not sure what is happening
I used a BLOB field type in the db to do more precise, but still not works
What's i doing wrong?
Thank you
SOLVED:
This problem may occurs when use InnoDB tables on MySql 6.0.2 Alpha Community NT Debug Log, becouse Apache::Session::MySql get lock to user level, so using MyIsam was solved!
In reply to Apache::Session::MySql don't save data by way
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |