title: Joomla Login Function
body: <p>For logging into Joomla im using  </p>
  
  <pre><code>$result = JFactory::getApplication()-&gt;login(array('username'=&gt;$username,    'password'=&gt;$password));  
  </code></pre>
  
  <p>is there any way to pass the login function a remember me option?</p>