Guest Posted June 27, 2007 Share Posted June 27, 2007 Hi, When I have osCommerce set up locally, I things work slightly differently than when I upload to the live site. Locally, every link contains is osCsid and doesnt go away, but on the live site, this disappears after the first click. I am guessing that it is a cookie / session problem. It may also be the way I have PHP set up. I have osCommerce installed at http://localhost/shop Here is the part of the catalog configure.php file: define('HTTP_SERVER', 'http://localhost'); define('HTTPS_SERVER', ''); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', ''); Thanks in advance for any suuport. Regards, Fish Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2007 Share Posted June 27, 2007 Hi, When I have osCommerce set up locally, I things work slightly differently than when I upload to the live site. Locally, every link contains is osCsid and doesnt go away, but on the live site, this disappears after the first click. I am guessing that it is a cookie / session problem. It may also be the way I have PHP set up. I have osCommerce installed at http://localhost/shop Here is the part of the catalog configure.php file: define('HTTP_SERVER', 'http://localhost'); define('HTTPS_SERVER', ''); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'localhost'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', ''); Thanks in advance for any suuport. Regards, Fish admin-sessions-force cookie use to true works for me in removing the oscid. I am running xaamp lite and a dozen shops. Link to comment Share on other sites More sharing options...
Guest Posted June 27, 2007 Share Posted June 27, 2007 Hi Bloke, Thanks for your support. Where will I find the setting to force admin sessions to use cookies? Regards, Fish Link to comment Share on other sites More sharing options...
Guest Posted June 28, 2007 Share Posted June 28, 2007 Hi Bloke, Thanks for your support. Where will I find the setting to force admin sessions to use cookies? Regards, Fish Again I say... admin-sessions-force cookie use to true works for me in removing the oscid.I am running xaamp lite and a dozen shops. in braille this time - ADMIN - CONFIGURATION - SESSIONS - FORCE COOKIES USE - TRUE Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.