-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Magento does not set the customer session data correctly. #6759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can't reproduce this. Ensure you have permissions set correctly, try clearing magento and browser caches. |
Please note that Full Page Cache (FPC) is disabled for now (and might have to keep it that way for sometime for a reason). |
The issue also happens to me on Magento 2.1.1 |
Yeah, for me also. But not all time (almost) |
Have you tried disabling varnish or change application mode? |
Varnish is enabled. Mode is production. |
I also have the same issue. Frequency of occurrence is always. UsingMagento 2.1.2 Steps to Reproduce:
What I see:
Picture above is using porto ultimate theme, but the same thing happens with the luma theme even when all 3rd party modules are disabled. What I expect to see:
which should display the missing name in the ul.header.links and or div.panel.header
Supplementary info:I have not tested for issues with the cart. |
This should be fixed in develop branch 861f596. Could you please try this fix. |
@sevos1984 , with 861f596 the customer name and welcome message display after 3 seconds. Good work! Any reason that there is a delay of 2-3 seconds? Anything I can do to shorten this length of time? Note: I am running in developer mode with I modified since The file is modified per the fix as follows:
Then,
Then,
|
With enabled cache and production mode this should run faster. You can also enable Merge JavaScript Files, JavaScript Bundling or Minify JavaScript Files to accelerate js. For more information regarding performance configuration contact Community Forums or the Magento Stack Exchange. Thanks. |
I've faced this issue after enabling varnish. Anyone solved this issue. |
Magento 2.3.2, In /vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php already have following code. Still asking customer to re-login. |
Magento does not set the customer session data correctly.
Issue: After logging in, the customer name in the welcome message (Welcome ) does not get set. At the time of checkout, user is asked to login again. The mini cart does not show the number of products that were added by the customer.
Environment:
Magento: M 2.1.1
Cache: Varnish 4 (only FPC disabled) - Prod mode.
OS version: Ubuntu 14.04.4 LTS
PHP: PHP 7.0.9 (Zend Engine: v3.0.0.)
Apache: Apache/2.4.23
AWS - Bitnami installation.
10K+ SKUs
Steps:
On random browsing thru the site, the name gets set (I am not able to figure out what causes it to set) and then its all fine - the name appears and the mini cart is updated.
This is a consistent issue and can be reproduced every time.
Please treat this as high priority. The sales are getting impacted because of this. Suggest a workaround if any.
The text was updated successfully, but these errors were encountered: