in reply to Re^3: Execute code after session expirein thread Execute code after session expire
Have you looked at the documentation for CGI::Session/CGI::Session::Tutorial? CGI::Session::ExpireSessions looks like it will do all the heavy lifting for you.