Reputation: 25
I use CGI::Session and can't find the way how to retrieve expired sessions data from disk before I remove them. "Notice: All expired sessions are empty". But maybe there is the way how to reload them from disk or read this files. Help me please. Thank you.
Upvotes: 0
Views: 121
Reputation: 39158
Depends on the driver you used. With the defaults:
perl -mCGI::Session::Serialize::default -MData::Dumper=Dumper -MFile::Slurp=read_file -e'
for my $f (glob "/tmp/cgisess*") {
print Dumper(CGI::Session::Serialize::default->thaw(read_file $f))
}
'
Upvotes: 1