Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Big Problem with osCommerce Cookie Isuue


Guest

Recommended Posts

Posted

Hi All,

 

I have problem with osCommerce Cookies.

 

I have error like "We have detected that your browser does not support cookies, or has set cookies to be disabled."

 

Yes I know you will say me to Force Cookie Use to FALSE.

 

But I am sorry I have few links comes from flash. They do not generated session id (like osCsid=44598af2309044fa7a56bec810bac404) I do not need session id in url.

 

so I need to make Force Cookie Use to TRUE Only.

 

My Config file is as follows

 

define('HTTP_SERVER', 'http://ip-address/~mystore');

define('HTTPS_SERVER', 'https://ip-address/~mystore');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'http://ip-address');

define('HTTPS_COOKIE_DOMAIN', 'http://ip-address');

define('HTTP_COOKIE_PATH', '/~mystore/');

define('HTTPS_COOKIE_PATH', '/~mystore/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/myfolder/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'mystore_osc1');

define('DB_SERVER_PASSWORD', 'mypassword');

define('DB_DATABASE', 'mystore_osc1');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

 

Please Advise.

 

Thanks in advanced.

Posted

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

define('HTTPS_COOKIE_DOMAIN', '.my_domain.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

Archived

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

×
×
  • Create New...