title: Can I send a cookie from my server which can be accessed by a browser extension?
body: <p>I have a project where my browser extension makes AJAX calls to my server.
  I can sign into the server with several different FQDN domain names<br>
  for example</p>
  
  <pre><code>https://myserverLANHostname/script_to_call
  https://LANipAddress/script_to_call
  https://www.example.io/script_to_call
  </code></pre>
  
  <p>My LAMP server generates a different session id for each domain, and the sign in credentials are associated with the session id. The web pages are protected such that a user must be signed in for them to run the php scripts. </p>
  
  <p>So a user signed into one domain name cannot access the server by addressing another domain. For instance if the server LAN address is <a href="https://localName" rel="nofollow noreferrer">https://localName</a> they cannot access pages on <a href="https://internet_domain_name.io" rel="nofollow noreferrer">https://internet_domain_name.io</a> without signing in again.</p>
  
  <p>The browser extension must send AJAX calls to the correct domain, ie the one the user is signed into.  The question is how could my extension achieve this?</p>