title: Difference between $this->render and $this->redirect Symfony2
body: <p>What is the difference between $this->render and $this->redirect. Is there a way i can pass arguments with $this->render like in I do with $this->redirect</p>
  
  <pre><code>return $this-&gt;render('MedicineUserBundle:User:home.html.twig', array(
                   'info'      =&gt; $all,));
  </code></pre>
  
  <p>Can I do something like this :-</p>
  
  <pre><code>return $this-&gt;redirect($this-&gt;generateUrl('MedicineUserBundle_login', array(
               'info'      =&gt; $all,)));
  </code></pre>
  
  <p>Or is there any other way I can pass values with $this->redirect to my template twig file.</p>
  
  <p>And One more question How can i change the url with <code>$this-&gt;redirect</code>, eg If i dont have to pass any values to my template file I can do as mentioned  above the render will take me to a page like <strong>localhost/myproject/home</strong> but <code>$-&gt;this-&gt;redirect</code> will execute the controller but the url wil be the same like <strong>localhost/myproject/</strong>. Is there anyway i can redirect to another url using redirect</p>