0

Sometimes I'm login as one user and in some pages I see the name of other user that I've never used to login in that computer.

this happens in different pages, and don't happens always.

Any idea of what can generate this issue ?

  • Jacr did you solve this? And how? – Jilco Tigchelaar May 7 '19 at 18:52
  • Yes, this is related to cache, I have removed some blocks from cache – jacr1614 May 9 '19 at 14:31
  • What cache? Full page caching or redis? And what blocks did you remove and how? – Jilco Tigchelaar May 10 '19 at 10:36
0

1) If you are using some Full page cache, disable it or set it to NO

2) Clear your Magento sessions, see here.

3) Clear all Magento and Browser cache.

| improve this answer | |
0

In the header.phtml file you should use this to print the user name

<?php echo $this->getChildHtml('welcome') ?>

Then, you can override the block 'Mage_Page_Block_Html_Welcome' if you wanna customize your message.

this happens when you use "Full Page Cache" because by default, magento exclude some blocks of the full page cache, and the block 'welcome' is one of they. if you are using customization code and message, the user name will be cached too, and other users will see different user names in this section.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.