title: Session only cookies with Javascript
body: <p>I was wondering if it's possible to create session only cookies with Javascript. When the browser is closed the cookies should be removed. </p>
  
  <p>I can't use anything on the server as the website is HTML only ... so no server side script is used.</p>
  
  <p>I read something about this here:
  <a href="http://blog.lysender.com/2011/08/setting-session-only-cookie-via-javascript/" rel="noreferrer">http://blog.lysender.com/2011/08/setting-session-only-cookie-via-javascript/</a>
  but i can't find any more information about this ... so i was wondering if this method is reliable.</p>