title: Automatic log in with Facebook C# SDK?
body: <p>I've been working with Facebook C# SDK, though there's one thing I haven't been able to achieve:</p>
  
  <h2>Scenarios:</h2>
  
  <p><strong>Scenario 1:</strong> User is NOT signed in to Facebook.com. User visits mysite.com. Mysite.com shows Facebook Connect button. User clicks the button to log in, and is redirected to mysite.com/mainsite.</p>
  
  <p><strong>Scenario 2:</strong> User is signed in to facebook.com. User then visits mysite.com. User is redirected to mysite.com/mainsite.</p>
  
  <p><strong>Scenario 3:</strong> User is logged in to mysite.com with facebook. User closes session inside facebook.com. Mysite.com logs out the user.</p>
  
  <h2>Problem:</h2>
  
  <p>Scenario 1 and 3 work. But for some reason, facebook c# sdk can only do scenario 2 after refreshing the mysite.com once.</p>
  
  <p>I downloaded the samples. And yes. It happens in the samples too.</p>
  
  <p>I open session in facebook.com. Then visite mysite.com. Nothing happens. No log in. Then I refresh mysite.com and bam. I'm logged in.</p>
  
  <p>Shouldn't it detect if there's a session on the first page load? Why doesn't it? Is it possible? How?</p>
  
  <p>I've seen no working example of this automatic log in using facebook c# sdk.</p>
  
  <p>Note: User has already given required permissions to app.
  Note: I'm currently working with SDK samples.</p>