title: Joomla/PHP logging out if ID not in URL
body: <p>So I have looked into the problem but it doesn't seem to have a solution in the Joomla forums. </p>
  
  <p><a href="http://forum.joomla.org/viewtopic.php?f=615&amp;t=733240" rel="nofollow">logging out automatically</a></p>
  
  <p><a href="http://forum.joomla.org/viewtopic.php?t=731442" rel="nofollow">Keeps logging out</a></p>
  
  <p>The issue I am getting is narrowed down to the URL.  If the var <code>&amp;ID=</code> is set in the URL it is okay, if not it logs out.  In both cases I am doing a <code>$_SESSION</code> dump, and it confirms that the $user->id is set to 0.  Don't know why it is logging out.</p>
  
  <p>Any solutions are welcome, this is a problem that has been avoided for some time.</p>