title: Php Session displaying the error message
body: <p>i am using two webpage in menu.php i am not able to get the detail of session variable it will display undefined index.</p>
  
  <h2>controller.php</h2>
  
  <pre><code>       $info = mysql_fetch_array( $data );  
         session_start();
         // store session data
         $type="$info[TYPE]";
         $no="$info[NO]";
  
         $_SESSION['type']=$type;
         $_SESSION['no']=$no;
     echo "Pageviews=". $_SESSION['type'];
     echo "Pageviews=". $_SESSION['no'];
         header('Location:menu.php');
  </code></pre>
  
  <h2>menu.php</h2>
  
  <pre><code>  &lt;?php sesstion_start();
    echo "Pageviews=". $_SESSION['type'];
    echo "Pageviews=". $_SESSION['no'];
    ?&gt;
  </code></pre>