$log_ses= new CGI::Session(); $CGISESSID = $log_ses->id(); $cookie1 = new CGI::Simple::Cookie( -name=>'ID', -value=>$CGISESSID );