Subject: | 6-bit values cause session to fail |
When I assign a numerical value between 0 and 127 inclusive to an
element of the hash I tie to the session (using MySQL), the text field
in the database loses values (always loses _session_id for me).
To reproduce:
use Apache::Session::MySQL;
# get $sessionid from cookie
$dbh = # handle to a MySQL database
my %session;
tie %session, 'Apache::Session::MySQL', $session_id, {
Handle => $dbh,
LockHandle => $dbh,
};
unless (exists $session{'_session_id'}) {
die $session_id;
};
$session{'test'} = 12;
# store $session{'_session_id'} in cookie
untie %session;
Loading the page once results in the text field missing a lot of data,
the second run dies because _session_id is not present.