hongbiaoke Posted July 12, 2004 Share Posted July 12, 2004 I was testing the catalog using a test customer. When I logged in as a customer, I am surfing the catalog in secure mode (SSL), but when I clicked on "cart" or "shopping cart" (it is empty), I am not in secure mode. Then I click on "account", I have to relogin. The next time I tried this: I logged in, I am in secure mode. I click a product and add it to my shopping cart, as soon as I click the product, I am out of secure mode, I click on "add to cart", I am still in unsecure mode. But the "log out" link is still there. Then I click on "account", I am back at the "login screen", but the "log out " link is not there and the "log in" link is there. After I log in again, the product that I added to my shopping cart is there. Is this a bug or did I mess up the scipts or it is a cookie problem? I am a novice at this so please go easy on me. Thank you! I currently use osCommerce 2.2-MS2 and PHP v4.3.0 Link to comment Share on other sites More sharing options...
Chris Dunning Posted July 12, 2004 Share Posted July 12, 2004 Probably not a bug in osCommerce, more likely a bug in your SSL setup. Are you using shared ssl (ie, securesite.yourhost.com/yoursite/) or your own ssl certificate (https://yoursite.com)? Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly. Link to comment Share on other sites More sharing options...
hongbiaoke Posted July 16, 2004 Author Share Posted July 16, 2004 I'm using my own ssl certificate Link to comment Share on other sites More sharing options...
user99999999 Posted July 16, 2004 Share Posted July 16, 2004 Post these lines from your catalog/includes/configure.php define('HTTP_SERVER', 'http://www.mydomain.com'); define('HTTPS_SERVER', 'https://www.mydomain.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTP_COOKIE_PATH', 'catalog'); define('HTTPS_COOKIE_PATH', 'catalog'); Link to comment Share on other sites More sharing options...
hongbiaoke Posted July 22, 2004 Author Share Posted July 22, 2004 I had the same configure.php, that gave me problems, uploaded on the web (http://www.rccnet.com) and it is fine now. I think it was doing that because it was on localhost and could not connect to the SSL or something. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.