title: Ngrok fails to serve PHP session cookie:
body: <p>I use ngrok to tunnel localhost to a web address</p>
  
  <pre><code>./ngrok http 80
  </code></pre>
  
  <p>I use only custom PHP code. Last time I tested it was working ok. Now, I can't login because it seems my PHP resets the data stored in session every 5 or so requests.</p>
  
  <p>When I say <code>reset</code> I mean that my code calls <a href="http://php.net/manual/en/function.session-id.php" rel="nofollow noreferrer">session_id()</a> <strong>does not</strong> get it and resets that valuable session data including internal captcha code! At the end captcha comparison fails!</p>
  
  <p>Everything works fine at <code>localhost</code> though!</p>
  
  <p>I reset <a href="http://php.net/manual/en/session.configuration.php#ini.session.cookie-domain" rel="nofollow noreferrer">session.cookie_domain</a>  with <a href="http://php.net/manual/en/function.ini-set.php" rel="nofollow noreferrer">ini_set()</a> setting the <code>ngrok</code> url.</p>
  
  <p>Any ideas?</p>