Developer forum

Forum » Development » Cart drops after 15 minutes?

Cart drops after 15 minutes?

Dmitrij Jazel
Reply

Hi Guys,

One of our customers called, and said that shopping cart becomes empty, when they are comming back from the break.

1) Customer adds products to cart.

2) just before finishing checkout - they are having break, or telephone call. 15-20 minutes (or more) back at the keyboard.

3) They are still authenticated as website users (loggedin).

Issue: By the time they are back, shopping cart becomes empty.

Quite strange, but wanted to ask if there is some kind of shopping cart lifetime setting, Or something simmilar to that?

 

/Dmitrij


Replies

 
Nicolai Høeg Pedersen
Reply

Check your settings in MC - cart can be saved on the cookie for a number of days.

But if the user is logged in, and the session times out, the user gets locked out. Then the cart is empty. But when they log back in, the cart should be there.

If they are at the last step in the cart, and they leave it, comes back and click "finish order" - it will not work.

BR Nicolai

 
Dmitrij Jazel
Reply

Hi Nicolai :)

Well as far as I was explained, that is like if Users are at the last step (do not close browser window or anything).

Than just taking a short break (telephone or coffee).

Comming back to the keyboard when they left - and than press Complete order button.

Regarding the setting that you talked about, is that the one? http://screencast.com/t/P1pNoL1pAop

I am a bit not sure, it refers to "saved cart" is that like save cart for future login, or is that actually the setting I am looking for?

 

Cheers,

/Dmitrij

 

 
Nicolai Høeg Pedersen
Reply

Hi Dmitrij

Yes, that is the setting.

If the user is in the last step, it will not in all situations be able to complete if the session times out. Depending on your settings, the cart will be loaded from the cookie, or the user will be re-logged in and the cart taken from the user.

You must ensure that your session can live long enough. There are a couple of options

  1. In the final step in the checkout, do something (ping the server using ajax or something) that keeps the session alive
  2. Increase session timeout in web.config
  3. Make sure the server and app pool has enough memory. If it runs out, it will kill sessions. Sessions can take up a lot of memory, so do not set session timeout too high.

Google it - there are a lot of tips and explanations out there.

BR Nicolai

 
Morten Snedker
Reply

In case of the user is logged in cart process: make sure that your solution is on 8.6.1.19 / 8.7.0.1 / 8.7.1.x or later, if not already there. There has been a fix to bug 18175 with title "CartCatch.LoadCart does now check cookie for CartID when CartSession has timed out.".

BR Morten

 

 

You must be logged in to post in the forum