moy2010 Posted January 5, 2015 Share Posted January 5, 2015 Hi, prestashopers . I'm displaying customer's account information in a custom div and used blockuserinfo .tpl as the template. The problem is that when I click on "log out" it works but the webpage still shows the "my account" options even after being refreshed.So far, I've thought 2 possible solutions:1.- Force page reloading not from cache. I've seen a couple of javascript codes on the web to achieve this, but none has worked so far. 2- Prevent this content from being cached by prestashop's cache system. In this possible solution I'm completely lost, and the reason why I'm opening this thread >.<. Any ideas about how could I solve this? Thanks in advance Link to comment Share on other sites More sharing options...
Dh42 Posted January 5, 2015 Share Posted January 5, 2015 Disable apc and see if it still happens. Link to comment Share on other sites More sharing options...
moy2010 Posted January 5, 2015 Author Share Posted January 5, 2015 It's not enabled, Dh42. It seems that this is an issue with the browser cache, since it only happens in the webpages I've already visited :/. Link to comment Share on other sites More sharing options...
Dh42 Posted January 5, 2015 Share Posted January 5, 2015 Can you link me to your site? I don't think it is possible with the browser cache to be honest. 1 Link to comment Share on other sites More sharing options...
moy2010 Posted January 5, 2015 Author Share Posted January 5, 2015 Sure, I'll enable it . It's http://mypcgaming.com Link to comment Share on other sites More sharing options...
Dh42 Posted January 5, 2015 Share Posted January 5, 2015 What version are you using? What is happening is that your logout needs to redirect to the home page or the authentication page, not the account page. It could be a version specific bug. Link to comment Share on other sites More sharing options...
moy2010 Posted January 5, 2015 Author Share Posted January 5, 2015 I'm using PS 1.6.0.11. This website is just for testing/development purposes. Link to comment Share on other sites More sharing options...
Dh42 Posted January 5, 2015 Share Posted January 5, 2015 I would file a bug report on it and link them to your site. This is not a caching issue or default behavior. Do you have a live site as well? Does it do the same thing? Link to comment Share on other sites More sharing options...
moy2010 Posted January 5, 2015 Author Share Posted January 5, 2015 Yup, but my live site is based on PS 1.5.6.1 and it doesn't do this . I thought that it may be related to some caching issues, but I think you're right. I'll wait till they release the stable version and, if this behavior continues, I'll fill a bug report. Thanks for your help, Dh42 . Link to comment Share on other sites More sharing options...
Dh42 Posted January 5, 2015 Share Posted January 5, 2015 Great. Happy selling! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now