title: Redirect after Login
body: <p>How can i auto login and load another page. I am able to auto login but i want auto redirect to <a href="http://website.com/xxx.php" rel="nofollow">http://website.com/xxx.php</a></p>
  
  <p>i used the following code, auto login working fine but redirect the page</p>
  
  <pre><code>&lt;form id="loginForm" name="loginForm" method="post" action="login_page_url"&gt;
      &lt;select name="uni_url" id="logServer" class="validate[required]"&gt;
          &lt;option class="" value="customer" fbUrl="" cookieName=""&gt;
  
          &lt;/option&gt;
      &lt;/select&gt;
      &lt;input id="edit-submitted-username" name="username" type="text" maxlength="128" value="username" class="" /&gt;
      &lt;input id="edit-submitted-password" class="form-text required" name="password" type="password" value="password" class="" /&gt;
      &lt;input type="hidden" id="loginKid" name="kid" value="" /&gt;
  &lt;/form&gt;
  &lt;script&gt;
      document.loginForm.submit();
  &lt;/script&gt;
  </code></pre>