title: Node Express, handle Session Cookie with multiple domains
body: <p>i've a node app that use a session stored into a cookie.
  That app are invoked fron different domain, so i need to store the cookie with the right domain.</p>
  
  <p>I followed <a href="https://stackoverflow.com/questions/19104292/express-session-with-different-cookie-domain-per-request">this solution</a></p>
  
  <p>It works but i have a little problem.</p>
  
  <p>I start the app and open my browser the app work fine, the cookie are stored rightly.
  Well if restart the app (forever restart) and reload the windows in the browser the app doesn't work, the session are not recognize, but i see the cookie stored as resource in my browser.
  If delete the cookie and reload my window the app work fine, the session works rightly and so the app and i see the cookie on my resource.</p>
  
  <p><strong>it works rightly or not?</strong></p>
  
  <p>Any help are appreciated</p>