title: Symfony 1.4 - redirect to homepage
body: <p>All pages in my application is secured by default, except the home page and login page. In my settings.yml I set </p>
  
  <pre><code>login_module:           homepage
  login_action:           index
  </code></pre>
  
  <p>So if I access a secured page it redirects to homapage.</p>
  
  <p>The content of all my pages are loaded via ajax. So after several hours when I came back to my account and click on menu the content loaded the home page. So I got 2 menus, 2 footers. I need to redirect to homepage.</p>