This module doesn't work with Ajax Login/Register ( http://drupal.org/project/ajax_register ). Even if base_url is set to:

$base_url = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on') ? 'https://' : 'http://') . 'www.mysite.com';

Comments

YK85’s picture

subscribing

damienmckenna’s picture

Subscribe.

grendzy’s picture

Status: Active » Closed (works as designed)

You can try adding ajax_register/* to the "ignore" list in the securepages settings.

This may be fundamentally insoluble, however. In order to generate a secure cookie, the session must be created on a secure page. However, you cannot make a secure XHR (ajax request) from an insecure page - this is a violation of the same-origin policy:
https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript