Hi there,

I have just a one question to prototype's Ajax.Request calls and hope
that someone could answer it.

Ajax.Requests via a http to a https is not possible, even if it's the
same domain. Is that right?

For example:
your login form is here - http://www.mydomain.com
the call points to: https://www.mydomain.com/library/login.php

i.e.
var url = 'https://www.mydomain.com/library/login.php';
var params = $('loginForm').serialize(true);
var myAjax = new Ajax.Request (url,     {
        method: 'post',
        parameters: params,
        onComplete: function(req) {
                yada yada yada...
        },
        .
        .
        .
});

Is there any way to make this work?

Thanks a lot for any answer,
Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to