Help for this page

Select Code to Download


  1. or download this
    sub ProcessLoginRequest
    {
    ...
      #Check if it got valid return from fetch cookie
      if ($sid ne 0){
        $status = 1;
    
  2. or download this
    #---------------------------------------------------------------------
    +----------
    # FUNCTION: OpenSession($dbh, $sid)
    ...
      $session  = new CGI::Session("driver:MySQL", $sid, {Handle=>$dbh, Lo
    +ckHandle=>$dbh});
      return $session;
    }