public static function create_session_log($type, $wid, $sid, $tid, $hash, $template, $template_workspace, $status, $message, $ip, $browser)
 {
     $log = new TestSessionLog();
     $log->UserWorkspace_id = $wid;
     $log->IP = $ip;
     $log->Template_id = $template;
     $log->Template_UserWorkspace_id = $template_workspace;
     $log->TestSession_id = $sid;
     $log->Test_id = $tid;
     $log->browser = $browser;
     $log->hash = $hash;
     $log->message = $message;
     $log->status = $status;
     $log->type = $type;
     $log->mysql_save();
 }