AJAX over HTTPS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gregerly
    Recognized Expert New Member
    • Sep 2006
    • 192

    AJAX over HTTPS

    I've got a question regarding how AJAX calls are handled over HTTPS pages. On my site, I've got a signup form that collects credit card info. It's a three part form, 1. Enter personal Info 2. Enter credit card info 3. Confirmation. I'm handling the different steps with AJAX. So, you land on an https page that has you enter your personal info and click continue. An ajax request is performed and the data is saved to the server, and the credit card form is requested via ajax (jquery). They fill out the credit card info which is processed and the confimation is displayed.

    So my question is, are all of the ajax calls encrypted because they are requested from an https page? If I request a page via https is that also encrypted? I basically want all communications from this page to be encrypted.

    Thanks!
    Greg
  • rnd me
    Recognized Expert Contributor
    • Jun 2007
    • 427

    #2
    this is easy to tell simply by looking at the url the ajax uses.

    https = encrypted
    http = postcard

    Comment

    Working...