in reply to Loading a session from CGI::Session

That doesn't make sense, what does $session->dump(); print?

It works for me with

$ pmvers CGI CGI::Session Plack CGI: 3.52 CGI::Session: 4.43 Plack: 0.9976

Replies are listed 'Best First'.
Re^2: Loading a session from CGI::Session
by SitrucHtims (Novice) on Apr 16, 2011 at 03:04 UTC

    CGI 3.51
    CGI::Session 4.42

    Don't have Plack installed. What is it, and is it required?

    Also I'm using Active Perl, and the Perl Package Manager only has the versions I have installed. Where can I get the updated versions?

Re^2: Loading a session from CGI::Session
by SitrucHtims (Novice) on Apr 16, 2011 at 03:25 UTC

    Below is the result of:

    print $session->dump();

    $CGI::Session = bless( { '_STATUS' => 1, '_OBJECTS' => { 'driver' => bless( { 'DataColName' => 'a_session', 'Directory' => 'C:\\Windows\\TEMP', 'IdColName' => 'id', 'TableName' => 'sessions', 'NoFlock' => 0, 'UMask' => 432 }, 'CGI::Session::Driver::file' ) }, '_CLAIMED_ID' => 'ead2b8cc2b09d83fc784e81a5799c0fe', '_DATA' => { '_SESSION_ID' => undef, '_SESSION_ATIME' => undef, '_SESSION_REMOTE_ADDR' => '172.30.5.170', '_SESSION_CTIME' => undef }, '_QUERY' => bless( { '.parameters' => [], 'use_tempfile' => 1, '.charset' => 'ISO-8859-1', '.cookies' => { 'CGISESSID' => bless( { 'value' => 'ead2b8cc2b09d83fc784e81a5799c0fe' , 'name' => 'CGISESSID', 'path' => '/' }, 'CGI::Cookie' ) }, '.fieldnames' => {}, 'param' => {}, 'escape' => 1 }, 'CGI' ), '_DRIVER_ARGS' => { 'DataColName' => 'a_session', 'IdColName' => 'id', 'TableName' => 'sessions' }, '_DSN' => { 'serializer' => 'default', 'id' => 'md5', 'driver' => 'file' } }, 'CGI::Session' )

    The CGISESSID in the dump is the correct session ID, but as you can see, there is no param data.