title: Confused about Facebook PHP SDK authentication
body: <p>I was just trying the Facebook PHP SDK example.php, and my login/logout works, <strong>BUT</strong></p>
  
  <ol>
  <li>The logout button logouts from facebook! I don't want that, I just want to logout from my application. I've changed the logoutUrl with $facebook->destroySession() , but I don't know if it's a good practice.</li>
  <li>Session is lost after refreshing the page</li>
  </ol>
  
  <p>I saw the Javascript with PHP example, which offers better expirience with the login process, although I don't know how to deal with the session, is there any detailed tutorial somewhere?</p>