473,397 Members | 2,077 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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.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
5 2922
acoder
16,027 Expert Mod 8TB
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
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
16,027 Expert Mod 8TB
It should work. If you do hit problems though, post back here with the problem code.
May 19 '08 #4
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
16,027 Expert Mod 8TB
You're welcome. Good luck!
May 20 '08 #6

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

Similar topics

3
by: sameergn | last post by:
Hi, Can anyone confirm is AJAX request can be sent over HTTPS if the containing page is loaded via HTTPS? or is it true that all AJAX interaction take place via HTTP? (Since the name of the...
6
by: Arnaud | last post by:
Hi, I'm trying to translate an asp application in a php way, i'm using Php 4.3.x. I'm going to try an asp newsgroup too, but as it mainly deals with Php, I would like to submit you my probem :...
1
by: bcochofel | last post by:
Hi, I'm using Perl CGI and HTML::Template to generate the following XML: ---------------------------------------------------------------------- <?xml version="1.0" encoding="iso-8859-1"?>...
0
by: Juan T. Llibre | last post by:
Microsoft Learning released a free ASP.NET AJAX Training Clinic on Feb. 22. "Clinic 5230: Developing Enhanced Web Experiences with Microsoft Asp.Net Ajax Extensions"...
3
by: Victor | last post by:
hi I just get a problem. in my site all my menu is using Ajax(like the componentart menu). but the website is heavily rely on the web search engine to promote(like Google bot). I think most of the...
1
by: empiresolutions | last post by:
I am using this really neat and easy AJAX inline text edit script, http://www.yvoschaap.com/index.php/weblog/ajax_inline_instant_update_text_20/. It works great on localhost and HTTP. But, when i run...
1
gregerly
by: gregerly | last post by:
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...
1
by: saravj2ee | last post by:
Hi, I have implemented prototype.js file to use AJAX calls in my application. I need to call cross domain to get some value from different server. The HTML and prototype file are hosted in...
7
by: Andrew Poulos | last post by:
I'm working on a "simple" tracking system for a client that will be receiving elearning packages from 3rd parties. I'm intending to do the communication with the database using ajax. My...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.