title: PHP session variables and GET request
body: <p>Good Day,</p>
  
  <p>I am creating a webpage that users login called "index.html" which POSTs data to the "home.php" site when the user submits the form from "index.html." Now that I am inside the "home.php" I can retrieve the posted variables, check them against the database and authenticate the user. Once I am in the "home.php" file, I would like the user to issue a GET request to the "home.php" site to display different data. Is there a way to do that and maintain the authentication? </p>
  
  <p>Right now I am getting a notice saying that the POST variables are undefined. (Obviously, since I am not posting anything)</p>
  
  <pre><code>Notice: Undefined index: pass in C:\xampp\htdocs\home.php on line 7
  </code></pre>
  
  <p>Thanks,
  Matt</p>