Post by lampadmin1976 » Fri Feb 02, 2018 8:03 pm

Hi,

I have deployed my opencart website on LAMP server, but there is some issue with PHP sessions as we are unable to logout without clearing the browsing cache.

Opencart Version 2.1.0.2
PHP 5.5.9
OS Ubuntu

Regards,
LampAdmin1976

Newbie

Posts

Joined
Fri Feb 02, 2018 7:44 pm

Post by ADD Creative » Fri Feb 02, 2018 11:51 pm

Anything in the error logs? What page do you get taken to when you click logout?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by lampadmin1976 » Sat Feb 03, 2018 11:46 am

It is keep on refreshing the same page and there is no error in Apache or PHP error logs.

Thanks,
AK

Newbie

Posts

Joined
Fri Feb 02, 2018 7:44 pm

Post by ADD Creative » Mon Feb 05, 2018 11:45 pm

Are you have problems with the admin or customer logout? Is it a clean install with the default theme and no extensions (if not have you tried a clean install)?

Have you tried using your web browsers inspect tool to see if it reports any errors?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by oc2020 » Thu May 28, 2020 8:26 am

I'm having similar issues for my website. did you figure out what was the problem?

New member

Posts

Joined
Wed May 13, 2020 5:11 am

Post by rod00x3 » Thu Jul 22, 2021 12:45 am

Does anyone know what happens?

In my case if in the root of my domain I put ossn and in a folder I put opencart, it fails.

Everything seems fine, but if you register a user and then close their session, it seems to be all right, but it doesn't, if you click on the store logo, you notice that someone is still logged in and even if you refresh, they never log out

I have it like this:
https://myDomain.com (Installed an OSSN social network)
https://myDomain.com/store (OpenCart)

Newbie

Posts

Joined
Tue Jun 29, 2021 1:30 am

Post by ADD Creative » Thu Jul 22, 2021 1:41 am

rod00x3 wrote:
Thu Jul 22, 2021 12:45 am
Does anyone know what happens?

In my case if in the root of my domain I put ossn and in a folder I put opencart, it fails.

Everything seems fine, but if you register a user and then close their session, it seems to be all right, but it doesn't, if you click on the store logo, you notice that someone is still logged in and even if you refresh, they never log out

I have it like this:
https://myDomain.com (Installed an OSSN social network)
https://myDomain.com/store (OpenCart)
What version of OpenCart? What version of PHP? Are you setting any expires headers in your htaccess?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 2 guests