Ajax https


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Ajax https

  1. #1
    Join Date
    Mar 2009
    Posts
    2

    Ajax https

    If I come into a page via https, I can make Ajax posts just fine. The posts are using the same URL, so they are posting via https.

    However, if I come into the page under http and then try to do my ajax post via https:

    http_request.open('POST', 'https://folder/page.php, true);

    an error is immediately caught. i am using a test ssl certificate but I don't think that would cause the problem. other postings on the web seem to indicate that I should be able to do this.

    any help appreciated

    Scott

  2. #2
    Join Date
    Mar 2009
    Posts
    2

    Have to autopost a form

    I simply created a form and auto posted as the last thing in the checkout process and HTTPS worked just fine (rather and AJAX post in this instance).

Similar Threads

  1. Ajax and Browser Positioning
    By dbrook007 in forum AJAX
    Replies: 0
    Last Post: 04-22-2008, 08:40 AM
  2. using an AJAX function to return a value
    By k285715 in forum AJAX
    Replies: 0
    Last Post: 06-18-2007, 12:06 PM
  3. AJAX call at Page Onload (https)
    By AjaxNewBie in forum AJAX
    Replies: 0
    Last Post: 06-14-2007, 05:25 AM
  4. AJAX on HTTPS failing
    By cesarcesar in forum AJAX
    Replies: 1
    Last Post: 04-26-2007, 06:50 AM
  5. New forum + some AJAX links
    By Lori in forum AJAX
    Replies: 0
    Last Post: 02-09-2006, 02:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center