Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What are correct Cookie Settings in configure.php?


britchops

Recommended Posts

Posted

Hi

 

My current settings are:

 

define('HTTP_COOKIE_DOMAIN', 'http://www.britchops.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'https://www.britchops.co.uk');

define('HTTP_COOKIE_PATH', 'www.britchops.co.uk');

define('HTTPS_COOKIE_PATH', 'www.britchops.co.uk');

 

Is this right? If so, why do I keep getting the OSCID's in my URL's?

 

Thanks

 

TJ

 

PS Force Cookie Use is Set to False in Admin Sessions as I have a shared SSL.

Posted

No, they are not correct. They should be

define('HTTP_COOKIE_DOMAIN', '.www.britchops.co.uk');
 define('HTTPS_COOKIE_DOMAIN', '.www.britchops.co.uk');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');

This assumes the shop is in the root. See here for more detail.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

Sorry Jack these settings don't work for me nor the link settings you gave?????

 

Anything else?

 

TJ

 

PS Are the OSCsID's supposed to disappear after 2 clicks? I want them to.

Posted

It would seem that these are the correct settings as the OSCsID's have disappeared:

 

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/shop1/');

define('HTTPS_COOKIE_PATH', '/shop1/');

 

Could you verify that these are correct ( or NOT!)?

 

Thanks

 

TJ

Archived

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

×
×
  • Create New...