Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Front end sometimes redirect users to login page


Psytanium

Recommended Posts

Hello,

I have OSC2.3.4, i have received many reports from users, some of them have sent me a video, about a redirection problem, the website keep redirecting the users to the login page, sometimes after they click on a category, or a products, etc..

I checked the configurations in the backend, it is set to this :

Session Directory /home/domain/public_html/includes/work/  
Force Cookie Use True  
Check SSL Session ID True  
Check User Agent True  
Check IP Address True  
Prevent Spider Sessions True  
Recreate Session True

 

I checked the htaccess file, I have those settings to redirect to https and none www

RewriteEngine On

RewriteCond %{HTTPS}  off
RewriteRule ^(.*)$ https://domain.net/$1 [R,L]

RewriteCond %{HTTPS}  on
RewriteCond %{HTTP_HOST}  ^www\. [NC]
RewriteRule ^(.*)$ https://domain.net/$1 [R,L]

 

in the includes/config.php files i have the following :

define('HTTP_SERVER', 'https://domain.net');

define('HTTPS_SERVER', 'https://domain.net');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'domain.net');

define('HTTPS_COOKIE_DOMAIN', 'domain.net');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

  define('DIR_WS_HTTPS_CATALOG', '/');

==========================

I tired the website multiple times, I didn't get this problem, but I have received the same report form many users.

Any idea where should I look ?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...