title: Magento redirect to same page
body: <p>I want to redirect user after submission of the following form:</p>
  
  <pre><code>&lt;form action="&lt;?php echo $custmlogin-&gt;getPostActionUrl() ?&gt;" method="post" id="login-form" onSubmit="return validate(this);"&gt;
  </code></pre>
  
  <p>to the same page. But after submit it take me to the homepage.</p>
  
  <p>Any way to redirect it to same page after submit?</p>