XMLHTTPRequest Over SSL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Yopp

    XMLHTTPRequest Over SSL

    Is there any way of making XMLHTTPRequest calls using SSL?

    Thanks
  • David Dorward

    #2
    Re: XMLHTTPRequest Over SSL

    John Yopp wrote:
    [color=blue]
    > Is there any way of making XMLHTTPRequest calls using SSL?[/color]

    What happens when you try using an HTTPS URL?

    --
    David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is

    Comment

    • Martin Honnen

      #3
      Re: XMLHTTPRequest Over SSL


      John Yopp wrote:
      [color=blue]
      > Is there any way of making XMLHTTPRequest calls using SSL?[/color]

      With normal security settings in the browser XMLHttpRequest can connect
      back to the server the document with the script has been loaded from
      thus if your HTML page is served from https://example.com/ then I am
      pretty sure the browser will let script with XMLHttpRequest connect back
      to https://example.com/. You can't connect to https://example.org/ then.
      Nor could a script in a page loaded from http://example.com/ connect to
      https://example.com/.

      If you are using Msxml2.ServerXM LHTTP in an ASP page then you can surely
      connect to HTTPS URLs.

      --

      Martin Honnen

      Comment

      Working...