[Cialug] OT: Socket programming + jquery conundrum
    Matthew Steven 
    matthew at geniusweb.com
       
    Tue Apr 12 23:02:43 CDT 2011
    
    
  
Great answer, that's it exactly. Huge thanks!
On 04/12/2011 08:10 PM, Eric Junker wrote:
> What port is your HTTP server that you wrote listening on? AJAX 
> requests are subject to the Same origin policy 
> http://en.wikipedia.org/wiki/Same_origin_policy I believe if your HTML 
> is served by Apache on port 80 but your HTTP server that you make an 
> AJAX request to is on a different port it would be considered to be a 
> different origin and the browser would block it. You can get around 
> Same origin policy by using JSONP.
>
> Eric
>
    
    
More information about the Cialug
mailing list