... # Load existing session $session = CGI::Session->load( $exist_sess_id ); $session->delete(); ... ...