Radek100 Posted April 18, 2011 Share Posted April 18, 2011 Hi, could anybody help me, please? I use 1.4.0.17 version, when I am in front office and I am logged in and press logout I can still see user's name. After pressing F5 (refreshing the page) it is ok and I can see that I am really logout, but only when I press F5. Any solution? This is in Mozilla and Explorer. Safari is ok. Thanks Link to comment Share on other sites More sharing options...
StripedElephant Posted June 28, 2011 Share Posted June 28, 2011 I am having the same problem on my shop, but it is affecting more than Radek100 lets on. I'm using Prestashop version 1.4.3. When you log on and then navigate to another page, it appears as though you're not logged on. Every page with content that changes depending on whether or not you're logged on (all of them on my shop) needs to be refreshed to show the correct log on status. And once you sign on and refresh to show that you're signed on, then, as Radek100 states, when you log out, you need to refresh all the pages again to have them show that you're logged out. Unlike Radek100, my shop has this problem in Safari as well.This largely renders the account feature on my shop useless. The ISP explanation seems very unsatisfactory. My ISP doesn't cause this problem on other websites with accounts. Does that mean that everyone who has my ISP won't be able to properly use the account feature of Prestashop? Setting Force Compile to yes doesn't change it.Any help would be very much appreciated, I'm stumped. Thank you. Link to comment Share on other sites More sharing options...
Radek100 Posted September 7, 2011 Author Share Posted September 7, 2011 Hi, I solved this with adding to htaccess this: <IfModule mod_headers.c> <Files *.php> Header set Cache-Control max-age=0 </Files> </IfModule> I also change file permission of htaccess to 774, because it always back to old version, this works for me Link to comment Share on other sites More sharing options...
Recommended Posts