title: Include session on server for assets but prevent session Cookie header from being sent for assets
body: <p>Someone recently pointed out that the asset files were also sending the session <code>Cookie</code> header, not necessary. I would like to access a few arrays/variables stored in <code>$_SESSION</code> in some of the asset files though without having the <code>Cookie</code> header be sent to the client for those asset files.</p>
  
  <p>In the asset files (e.g. like JavaScript) I simply include the <code>session.php</code> file. Since the client initializes the HTTP request to the asset files this is not simply passing <code>$_SESSION</code> as a parameter.</p>
  
  <p>How do I initialize and access <code>$_SESSION</code> though not have it's associated <code>Cookie</code> header sent for asset files?</p>
  
  <p>I can obviously determine how to combine <code>substr</code> with $_SERVER['REQUEST_URI'] to determine if the request is for an asset (e.g. <code>*.js</code>) and all asset files have proper file extensions.</p>