AJAX and SSL/HTTPS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rameshch45
    New Member
    • Oct 2007
    • 25

    AJAX and SSL/HTTPS

    I am looking for a function that can "use the ssl/https connection" that the site is already using and can send secure requests. The examples on net show a function that detects if it is IE (5 or 6) then use Microsoft.XMLHT TP and "new XMLHttpRequest( );" for all other browsers. Please share one approach that works - my application runs in IE and FireFox. I am not using HTTPS on my development environment but want to make sure that it works when we buy a certificate.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Is the Ajax code to be on a secure page and is it going to make a request to script on the same domain and also ssl-enabled?

    Comment

    • rameshch45
      New Member
      • Oct 2007
      • 25

      #3
      Originally posted by acoder
      Is the Ajax code to be on a secure page and is it going to make a request to script on the same domain and also ssl-enabled?
      yes and yes - all in the same domain and ssl enabled

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        It should work. If you do hit problems though, post back here with the problem code.

        Comment

        • rameshch45
          New Member
          • Oct 2007
          • 25

          #5
          sure, so we are making an assumption that IE6 + Microsoft.XMLHT TP + SSL should normally work - let us see after I get the certificate. Thanks.

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            You're welcome. Good luck!

            Comment

            Working...