Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Won't stay logged in


dmh357

Recommended Posts

i am having a weird problem with my OSC sites. I keep getting redirected to the login page even after i have already logged in.

 

My session settings are as such...

 

Session Directory: /tmp

Force Cookie Use: False

Check SSL Session ID: False

Check User Agent: False

Check IP Address: True

Prevent Spider Sessions: True

Recreate Session: True

 

This seems to be happening on all OSC sites on the server. I can not think of anything that changed on the server that would cause this.

 

IT seems to be related to jumping in and out of SSL

Link to comment
Share on other sites

check the cookies settings in confugure.php

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Ok, i reviewed the settings and they look good...

 

define('HTTP_COOKIE_DOMAIN', '.site.com');

define('HTTPS_COOKIE_DOMAIN', '.site.net/~user/');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

 

I have tried several variations and it does not seem to be creating the SSL cookie.

Link to comment
Share on other sites

I have confirmed this started happening 2 days ago to all sites on the server. Does anyone know what could cause OSC to do this at the server level?

 

HTTP or phpconfigs ?

 

Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...