从 http 切换到 https 时 Magento 会话丢失 [英] Magento session lost when switching to https from http

查看:33
本文介绍了从 http 切换到 https 时 Magento 会话丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经四处寻找解决方案,但没有运气.我的主人告诉我他们太忙了,无法提供帮助.

I've searched high and low for a solution to this, with no luck. My host told me they are too busy to help.

Magento 1.4.2//SSL 证书

1- 当我将商品添加到购物车时,页面会重新加载并将我的商品添加到购物车.[好]

1- When I add an item to cart, the page reloads and my item is added to cart. [good]

2- 接下来,我点击主页,我的商品在购物车侧边栏中不再可见.[坏]

2- Next, I click home, and my items are no longer visible in cart sidebar. [bad]

3- 接下来,我点击Tops",我的商品在购物车侧边栏中仍然不可见.[坏]

3- Next, I click "Tops", and my items are still not visible in cart sidebar. [bad]

4- 接下来,我点击底部",项目显示正常.

4- Next , I click "Bottoms" and the items show just fine.

在购物车不可见的所有情况下,我可以将 https 添加到 URL 并且购物车加载得很好.谁能帮我弄清楚为什么我的会话在 http 和 https 之间丢失了?

In all cases where the cart isn't visible, I can add https to the URL and the cart loads up just fine. Can anyone help me figure out why my session is being lost between http and https?

除了 sID,我的所有后端 Web cookie 设置都设置为否".

I have all my backend web cookie settings set to "no" except for sID.

此外 - 当用户登录时,购物车项目始终显示在右侧.如果他们是客人,那就太糟糕了.

Also- When a user is logged in, the cart items ALWAYS show on the right. It's only screwy if they're a guest.

谢谢大家,如果你需要我发布任何代码,请告诉我.

Thanks guys, if you need me to post any code let me know.

wwwdotlylifdotcom

wwwdotlylifdotcom

这是我在 firebug 中的 cookie 会话的屏幕截图(不完全确定我在看什么).希望这可以帮助.

Here is a screenshot of my cookies session in firebug (not exactly sure what I am looking at). Hope this helps.

这是我在 magento 中的会话设置:我已经尝试了打开和关闭这些的几乎所有变体.

And here is my Session settings in magento: I have tried just about every variation of turning these on and off.

编辑!

这个问题实际上已缩小为缓存问题.我们发现当缓存被转储/删除时,网站可以正常工作.但是在浏览几分钟后,问题再次发生.有谁有想法吗?(我应该更改问题标题吗?)

This issue has actually been narrowed down to a cache issue. We found out that when the cache is dumped/deleted, the website works properly. But after a few minutes of surfing the problem happens again. Does anyone have any idea? (And should i change the question title?)

我正在使用 TinyBrick 的 Lightspeed 模块,看来新的缓存选项正在干扰我们的网站.=(我很快就会联系他们.

I'm using a module called Lightspeed from TinyBrick, and it seems the new cache options are messing with our site. =( I'm contacting them shortly.

**EDIT Tinybricks 出色的支持帮助了我们.感谢您的所有建议.

**EDIT Tinybricks excellent support helped us out. Thanks for all of your suggestions.

推荐答案

Tinybricks 出色的支持帮助了我们.感谢您的所有建议.这是一个基于缓存和名为 Lightspeed 的模块的本地化问题.

Tinybricks excellent support helped us out. Thanks for all of your suggestions. This was a localized problem based off cache and a module called Lightspeed.

这篇关于从 http 切换到 https 时 Magento 会话丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆