By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,608 Members | 1,940 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,608 IT Pros & Developers. It's quick & easy.

AJAX and SSL/HTTPS

P: 25
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.XMLHTTP 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.
May 19 '08 #1
Share this Question
Share on Google+
5 Replies


acoder
Expert Mod 15k+
P: 16,027
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?
May 19 '08 #2

P: 25
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
May 19 '08 #3

acoder
Expert Mod 15k+
P: 16,027
It should work. If you do hit problems though, post back here with the problem code.
May 19 '08 #4

P: 25
sure, so we are making an assumption that IE6 + Microsoft.XMLHTTP + SSL should normally work - let us see after I get the certificate. Thanks.
May 19 '08 #5

acoder
Expert Mod 15k+
P: 16,027
You're welcome. Good luck!
May 20 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.