Hey Jon,
The following code added to AppLogic.cs lets me add product to the cart on Mosso but it does not switch to https: Any ideas?
Code:
String s = "http://" + CommonLogic.ServerVariables("HTTP_HOST") + ScriptLocation;
if (TryToUseSSL && AppLogic.UseSSL() && AppLogic.OnLiveServer())
{
if ((AppLogic.AppConfig("SharedSSLLocation").Length == 0) && (CommonLogic.ServerVariables("HTTP_CLUSTER_HTTPS") == "on"))
{
s = s.Replace("http:/", "https:/");
if (AppLogic.RedirectLiveToWWW())
{
if (s.IndexOf("https://www") == -1)
{
s = s.Replace("https://", "https://www.");
}
s = s.Replace("www.www", "www"); // safety check
If I manually switch to https it also works now even if something is in the cart. It's just a matter of switching automatically. Not sure how to proceed.