$session = CGI::Session->load($sid) or die CGI::Session->errstr(); #$sid is the session id passed from form1.cgi