title: Creating cookie onunload (even after deleting browser cache)
body: <p>Is it possible to create a cookie after a user has deleted his/her browser cache (+cookies) entirely?</p>
  
  <p>E.g.
  Predefined variables loaded into memory</p>
  
  <pre><code>var userID = 1337;
  var IP = 222.222.222.222;
  var trackingUID = 'LaughingAtDancingFooBars';
  </code></pre>
  
  <p>If the above method of storing the data doesnt work, perhaps storing the data inside the document. inside a form input element - which is then read?</p>
  
  <pre><code>&lt;input type="hidden" value="1337" id="userID "/&gt;
  &lt;input type="hidden" value="222.222.222.222" id="IP"/&gt;
  &lt;input type="hidden" value="LaughingAtDancingFooBars" id="trackingUID"/&gt;
  
  &lt;body onunload="makeCookies(userID, IP, TrackingUID)"&gt;
  
  makeCookies(){
  document.cookie=tracking = userID, ip etc...
  }
  </code></pre>
  
  <p>Just a quick observation really.. When the user has moved off the page, Javascript can still read what is in memory, if not, read what is in the document. With this we can write the cookie again? - Even if the user has cleared the browser cache.</p>
  
  <p>The real question is, wouldn't this become an privacy concern of some sort? - if it works.</p>