Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sessions Are Not Created In The Right Way


after_eden

Recommended Posts

Posted

Hello,

 

I am using OsCommerce for two webshops, one is working perfectly and the other unfortunately is not anymore.

 

I have the following problem:

- Add a product to your shopping cart

- Cart has 1 product

- Add another

- Cart has 2 products

- Add another

- Cart is empty..

 

Also when you succeed in selecting some products and you want to pay you'll get an error:

- Add one to your cart

- Log in

- And you'll need to login over and over again.

 

When the site was just released, in about one/two weeks ago nothing was wrong with it but now.. I've re-installed osCommerce and even with the preview products this happens. This is the site. I really don't know it anymore.

 

I hope someone else will. You'ld really help me out.

 

Yours,

Kasper

Posted

chek whether the oscis that is there at with the url is it getting changed.

If so then You are loosing session id.

 

Also try by setting force cookiees to true...

 

Satish Mantri

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

osCis is not made, nowhere. That is one of my reasons to think that the session is broken.

 

Force cookies is turned on. I hoped that would help but it didn't work out.

Posted
osCis is not made, nowhere. That is one of my reasons to think that the session is broken.

 

Force cookies is turned on. I hoped that would help but it didn't work out.

Cookies don't work implies your configure.php file isn't setup properly.

Posted

is Your SSL shared.

Forced cookies will not work with shared SSL.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
Hmm I've found the cookies are working at all. Unfortunately they do not solve the problem. :S

Well now seems you're forcing cookies. Do you have some special code deployed to setup the cookie's lifetime? Looks like it expires in few seconds

 

 

- Add a product to the cart

- Wait few seconds

- Hit refresh

- The product is gone.

 

You may want to check the changes you did in catalog\includes\application_top.php for the cookie settings

Archived

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

×
×
  • Create New...