in reply to is_expired and is_empty doubt in CGI::Session

Do you load() your session?

$s = CGI::Session->load() or die CGI::Session->errstr;

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.