Prestashop automatic log out

Asked by:
dorislau / 5 Points
2014-01-20 11:23 pm EST
After login to prestashop no matter what i click the system will automatic log out and require to relogin again. tried different browser and reinstalled prestashop still unable to solve the problem.

To ask this user for more information, please first login.

To submit an answer, please login.



2,342 Points
2014-01-21 8:34 am EST
It sounds like Prestashop may not be storing the session data correctly. As this may very well be caused by your browser, I recommend clearing any browser data and checking your domain within the address bar to ensure you do not have something that is causing a redirect elsewhere. Trying another browser may also assist with this issue.

To submit a comment on this answer, please first login.


3,713 Points
2014-01-21 8:40 am EST
Hello dorislau,

I attempted to login to your Prestashop admin and I was unable to replicate the issue you mentioned of it automatically logging me back out.

I've clicked around on several of the sections and can't get it to happen.

I'm assuming that you'd probably just want to clear your web-browser's cache because it sounds like this issue is probably local to your computer.

If you're still having issues then it sounds like more than likely your local ISP could be proxying your requests, and this can interfere with PrestaShop's cookie that it checks on the admin login.

I went ahead and in your PrestaShop admin section went to Administration > Preferences and disabled the option Check the IP address on the cookie. Hopefully that should allow you in, but please note that this could degrade security of your PrestaShop admin.

If you Google "PrestaShop admin auto logout" a lot of the solutions talk about editing the /classes/Cookie.php file, but I'm only seeing that mentioned for older versions, and using the provided cookie settings should be more secure than hand modifying the core PrestaShop code.

Please let us know if you continue to have issues with your login, and also please let us know the web-browser you are using if you're still having problems.

- Jacob

To submit a comment on this answer, please first login.


2015-05-19 4:07 pm EST
Its not a issue and Its a feature of Prestashop. If your ip address changes prestashop will invalidate the cookie and ask you relogin again to safeguard from hackers.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.