Hi Monks!
I'm using CGI::Session and everything is working fine save for the fact that my session files aren't being deleted after expiring. My code follows:
my $session = new CGI::Session("driver:File", undef, {Directory => '/h
+ome/wiw/public_html/tmp'});
my $sid = $session -> id();
$session -> name('sid');
$session -> expire('+60m');
$session -> param('session_uid', $rray[0]);
$session -> param('session_fname', $rray[1]);
$session -> param('session_lname', $rray[2]);
$session -> param('session_email', $email_crypt);
My session files are being created in my tmp directory, and they even expire after 60 minutes, but the files never get deleted. I was under the impression that $session -> expire('+60'); automatically cleans things up and unlinks the session file in the tmp directory, but maybe I'm interpreting the documentation incorrectly?
Thank you!