Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem woth login / cart


mrcapitalism

Recommended Posts

Hello,

 

Here's the problem:

 

The only way that I can properly login is to put something in my shopping cart and then 'checkout'. If I try to login at any other time, I get returned to the 'welcome guest' page.

 

The odd part is, that when I try to login, and it bumps me back to the default login page, the url at the top of the browser shows that I am secured via SSL, as if I have logged in.

 

Does anyone know what could be causing this? I have tried searching through the other postings, but have been unable to find anything helpful.

 

I have checked to make sure that my browser is accepting cookies, and the SSL path is correct.

 

The url for the store is http://www.ianswineandbeer.com/store

 

Thanks in advance.

 

Ian

Link to comment
Share on other sites

Firstly the ssl you are using is a shared ssl cert, so if you have Force Cookie Use set to True under Configuration --> Sessions in your osC admin control panel - then set it to false. This feature only works when there is no ssl or a full ssl cert - and does not work with shared ssl.

 

Secondly, in your includes/configure.php file make sure that neither the http or https cookie domain begins with http or https (that's a URL and not a domain name.

 

If that still does not solve the problem then post your includes/configure.php file here (minus db user name and password) for us to take a look at it for errors.

 

Vger

Link to comment
Share on other sites

Hello,

 

Here's the problem:

 

The only way that I can properly login is to put something in my shopping cart and then 'checkout'. If I try to login at any other time, I get returned to the 'welcome guest' page.

 

The odd part is, that when I try to login, and it bumps me back to the default login page, the url at the top of the browser shows that I am secured via SSL, as if I have logged in.

 

Does anyone know what could be causing this? I have tried searching through the other postings, but have been unable to find anything helpful.

 

I have checked to make sure that my browser is accepting cookies, and the SSL path is correct.

 

The url for the store is http://www.ianswineandbeer.com/store

 

Thanks in advance.

 

Ian

 

I've experienced a similar problem which can be fixed by clearing the browser cookies. I have the 'purchase without account' contribution installed, and some mods so that it's a registration and payment experience.

 

For reasons that escape me, after repeated purchases on the same browser (IE or Firefox), the cookie seems to 'jam', and then the shopping cart remains empty after the purchase selection page. It's fixed by clearing the cookies.

 

Another mystery is that printing contents of the cookie using $HTTP_COOKIE_VARS shows a cookie is set, but it doesn't show up as a cookie file in my browser cookie folder??

 

The contents of the cookie, 'osCsid' (the session id) does not seem to change after each purchase -- which may contribute to the 'jamming' problem.

 

If anyone can shed light here is would appreciated. Thanks.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...