-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
After enable full page cache customer session data not found. #5594
Comments
Please, format this issue according to the Issue reporting guidelines. |
The contributor guide suggests that tickets that have not been active for two weeks should be closed. Please reopen as needed. |
To add to this I am able to replicate: Steps to reproduce with Actual and Expected Result
This appears to only happen in Google Chrome. Firefox works as expected. |
me also face same issue. is there any result ? |
I have also this issue. I try to add some custome values in CustomSession, but when I do a getCustomValue, I have nothing. Thank you. |
Same here. Setting a session using |
IT'S NOT A ISSUE! SEE HERE #3294 (comment) |
I am having the same problem in Magento 2.2.1 as well .. I tried following code in a .phtml file... $om = \Magento\Framework\App\ObjectManager::getInstance(); it did not return anything when Page Cache is ON, and when OFF I can see a value (1) printed. |
What about this: https://magento.stackexchange.com/a/167112/62952 |
If you have a custom template just put: cacheable="false" in ypur block declaration in layout: example:
|
You can try by creating an object of objectManager and should not use objectManager directly. Use something like,
|
I have already added cacheable="false" but it is not working in my custom block. |
MQE-2081: Functional Tests builds will only pass when MFTF and MTF are selected
Steps to reproduce
Expected result
echo "logged in Customer";
}else
{
echo "Not Logged In Customer";
}
After enable cache every time if condition not true .
Actual result
The text was updated successfully, but these errors were encountered: