Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Weirdness with SSL cookies


jonyo

Recommended Posts

can someone help me? I have cookies working for the http side of the site, but they do not seem to work for the https side.

 

Here is the behavior: Start on normal http home page here. Click once or twice and the oscid is gone. now go to the https side, by clicking on my account or log in or something. now try to navigate enough times to get rid of the oscsid in the url by going to other pages on the ssl side... it does not go away!

 

Now start out on the index from the https page here Almost instantly w/o navigating, links to other pages on the ssl side have no oscsid! navigate around on ssl pages, still no oscsid!

 

what could be causing this? Is there a way to fix it? Thank you for any help. I don't think it applies to this since it is saving cookies on the local machine, but I'll post it anyways:

 

 

 

configure.php:

  define('HTTP_SERVER', 'http://shop.faerietreasures.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://ssl.perfora.net'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '.faerietreasures.com');
 define('HTTPS_COOKIE_DOMAIN', '.perfora.net');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/shop.faerietreasures.com/');

 

website: http://shop.faerietreasures.com

ssl website: https://ssl.perfora.net/shop.faerietreasures.com/

 

Thanks for any help!

 

-Jonyo

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...