title: Use jQuery to get session from Minecraft.net
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3595515/xmlhttprequest-error-origin-null-is-not-allowed-by-access-control-allow-origin">XmlHttpRequest error: Origin null is not allowed by Access-Control-Allow-Origin</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to use jQuery to get session id's and stuff from Minecraft.net using</p>
  
  <pre><code>https://login.minecraft.net?user=&lt;username&gt;&amp;password=&lt;password&gt;&amp;version=99999
  </code></pre>
  
  <p>But I can't get it because there is the "Access-Control-Allow-Origin". The data I receive from the server isn't even json which is even harder for me to figure out how to get data with javascript. I'm doing this so users won't go crazy with suspicions that I'm trying to steal their account.</p>
  
  <p>This is something like what I'd receive</p>
  
  <pre><code>1343825972000:deprecated:SirCmpwn:7ae9007b9909de05ea58e94199a33b30c310c69c:dba0c48e1c584963b9e93a038a66bb98
  </code></pre>
  
  <p>Read more here. <a href="http://www.wiki.vg/Authentication#Login" rel="nofollow noreferrer">http://www.wiki.vg/Authentication#Login</a></p>