Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cookie Usage page


rhubarb

Recommended Posts

Posted

I'm setting up an existing site on a local Windows test server and an online Linux server. The online server is working ok, but the local server setup does not allow me to login, it keeps returning to the cookie usage page.

 

I've been looking at the cookie and session configuration settings:

 

1. I've set SESSION_FORCE_COOKIE_USE in table configuration to be 'false'

 

2. In catalog/includes/configure.php:

  define('HTTP_SERVER', 'http://192.168.0.1'); 
 define('HTTPS_SERVER', ''); 
 define('ENABLE_SSL', false); 
 define('HTTP_COOKIE_DOMAIN', '192.168.0.1');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/<dir_name>/catalog/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/<dir_name>/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '');

 define('STORE_SESSIONS', 'E:\Inetpub\wwwroot\<dir_name>\tmp');

Posted

I think this may have been caused by caching in IE6 or IIS returning a state which was valid before I had changed SESSION_FORCE_COOKIE_USE to false.

Archived

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

×
×
  • Create New...