In our site certain pages use SSL, most pages however don't (as they need to be crawled by web bots).
It pretty much boils down to any page where the user is logged in, with a few exceptions is under SSL,
But the user first has to login from a non https page (The login form is a form that drops from the top of the screen on any page).
So,
How can I force the requests over ajax to use SSL?
Is this even secure?