title: How to force page reload in zend php
body: <p>Actually I am using ajax call and my code sample is here.. Please don't mind the syntax</p>
  
  <pre><code>$.ajax(
      url: "mysite/action1",
  success: function(resp) {
  $("#divId").html(resp);
  });
  </code></pre>
  
  <p>Like this I am loading the response text into one div tag. Now my problem is in zend controller I am trying to check for one condition like if session expired means redirecting to login page or else sending the response html code for that action.</p>
  
  <pre><code>public function action1Action() {
      $login = new Zend_Session_Namespace('login');
      if (isset($login-&gt;employee_id)) {
          echo $html;
  
      } else{
          $this-&gt;view-&gt;headMeta()-&gt;appendHttpEquiv('refresh','1');
          //$this-&gt;_helper-&gt;redirector-&gt;gotoUrl($this-&gt;view-&gt;baseUrl());
          //$this-&gt;_helper-&gt;redirector('index', 'index');
      }
  } 
  </code></pre>
  
  <p>I tried these three ways </p>
  
  <pre><code>$this-&gt;view-&gt;headMeta()-&gt;appendHttpEquiv('refresh','1'); -- Nothing happening
  $this-&gt;_helper-&gt;redirector-&gt;gotoUrl($this-&gt;view-&gt;baseUrl()); and $this-&gt;_helper-&gt;redirector('index', 'index'); -- loads login page within the div tag (as it is taking as the ajax response)
  </code></pre>
  
  <p>I just want to reload the page. Just like triggering the browser refresh button to achieve what I want.. Please suggest any idea to solve my problem..</p>
  
  <p>Note : I want to page reload from server side rather than checking in ajax response.. Is there a way to do it?</p>