title: Yii storing form data in a session does not seem to be working
body: <p>I want to be able to store form data in a session to be used on other pages, but doesnt seem to be working :</p>
  
  <pre><code>//the action controller for the form
  $clientInfo = new ClientInfo;
  if(isset($_POST['ClientInfo'])) {
      // collects user input data
      $clientInfo-&gt;attributes=$_POST['ClientInfo'];
      // validates user input and redirect to previous page if validated
      if($clientInfo-&gt;validate()) {
          //store client info in a session varible
          Yii::app()-&gt;session['fname'] = $clientInfo-&gt;fname;
          Yii::app()-&gt;session['lname'] = $clientInfo-&gt;lname;
          Yii::app()-&gt;session['email'] = $clientInfo-&gt;email;
          Yii::app()-&gt;session['cellPhone'] = $clientInfo-&gt;cellPhone;
          $this-&gt;redirect('service'); 
      } 
  }
  </code></pre>
  
  <p>Then, in a view I do this, but i get nothing :</p>
  
  <pre><code>&lt;div class="panel panel-success"&gt;
      &lt;div class="panel-heading"&gt;
          &lt;h3 class="panel-title"&gt;Overview&lt;/h3&gt;
      &lt;/div&gt;
      &lt;div class="panel-body"&gt;
      &lt;?php 
          echo Yii::app()-&gt;session['fname'];
          echo Yii::app()-&gt;session['lname'];
      ?&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>