title: aspsessionid name change
body: <pre><code>&lt;script type="text/javascript" language="javascript"&gt;
  function setCookie()
  {
      var path = '/', host = document.location.hostname;
      document.cookie = 'random=' + Math.floor(Math.random()*11) + '; path=' + path + ( host ? '; domain=' + document.location.hostname : "" ) ;
  }
  function readCookie()
  {
      alert(document.cookie)
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>My life would be a lot simpler if I had an easy way to change <code>aspsessionid****</code> to just <code>sessionid</code> in my logs. Is there a quick way to do this ... in Windows? There must be a script, batchfile, command or something that I can run as a scheduled daily task on new logfiles. At times like this I wish I could program. Suggestions welcome please! </p>