Forum OpenACS Development: AJAX request a page on HTTPS on HTTP
I started to write a solution to provide a website on HTTPS once the user whether logs on signs in the system.
var actionHandler = "https://www.natopia.com/experiences/joinow";
"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.natopia.com/experiences/joinow. This can be fixed by moving the resource to the same domain or enabling CORS."
The goal is to include a ajax request to an HTTPS page on a HTTP page.
So, the form will be in HTTPS and if the user logs or signs in he will be on HTTPS forever.
Would CURL be the solution for it?
What would be be best approach to it?