title: How to stay logged in for Awesomium?
body: <p>I want to program an app with C# and Awesomium for remembering that a user is logged into the site. For this I use the following code:</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
  
      Uri link = new Uri("http://www.mywebsite.com");
      webControl1.Source = link;
       string Values="";
       WebSession session = WebCore.CreateWebSession("d:\\temp", WebPreferences.Default);
      session.SetCookie(link, Values, true, true);
  
  }
  </code></pre>
  
  <p>But when I close and run the app again, I must log in again.
  How can I do this?</p>