hello,
i have a prob. with cookies when i installed the oscommerce code in local server,
ihave the config file as:
define('HTTP_SERVER', 'http://192.168.1.175/murali/shop'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'http://192.168.1.175/murali/shop'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '192.168.1.175/murali/shop');
define('HTTPS_COOKIE_DOMAIN', '192.168.1.175/murali/shop');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
----
--------------------------------
----------
like that,
what modifications i need to do for enabling the cookies, so that i cant go for, cookies_usage.php file
instead of shopping_cart.php page,
please help me
Regards
Murali
oscommerce - cookies
Moderator: General Moderators
-
B.Murali Krishna
- Forum Commoner
- Posts: 28
- Joined: Fri May 12, 2006 2:05 am
- Location: Hyderabad,India
- Contact:
oscommerce - cookies
Last edited by B.Murali Krishna on Sat Dec 30, 2006 11:46 pm, edited 3 times in total.
How you open this server in your browser?
If you open it by typing http://localhost/murali/lootshack/shop , the cookies will not work because you specified an IP address
but if you open it with http://192.168.1.175/murali/lootshack/shop , there should not be a problem.
If you open it by typing http://localhost/murali/lootshack/shop , the cookies will not work because you specified an IP address
but if you open it with http://192.168.1.175/murali/lootshack/shop , there should not be a problem.