$session = CGI::Session->load or die CGI::Session->errstr;
if($session->is_empty) {
print "Content-Type:text/xml\n\n";
print <<"XML";
0000-00-00 00:00:00
XML
exit;
}
elsif($session->is_expired) {
print "Content-Type:text/xml\n\n";
print <<"XML";
0000-00-00 00:00:00
XML
exit;
}