title: passing session variables through header
body: <p>How can I pass two session variables to <code>loan_officer1.php</code> in below code</p>
  
  <pre>    function redirect_to($location = NULL){
          if($location != NULL){
          header("Location:{$location}");
          exit;
          }
      }
  
      if(mysql_query($query,$connection)){
          //sucess
          redirect_to('loan_officer1.php');
          }else{
          confirm_query($query);
          }
  
  </pre>