close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Restore a cart from database if session has timed out

Thread began 10/07/2013 7:16 am by jon211112 | Last modified 10/07/2013 8:23 am by jon211112 | 1633 views | 2 replies |

jon211112

Restore a cart from database if session has timed out

Hi there

I have a site built with eCart 5 and some customers have been interrupted while filling their cart and when they've returned the session has expired and their cart is empty again. Is there a simple fix?

Alternatively, if I store the cart into a temporary table (add 'store in database' to the cart page), what is the best way to restore it later if needed? Basically, populate the live cart from data in the temporary table.

Many thanks

Jon

Sign in to reply to this post

Jason ByrnesWebAssist

the simplest fix would be to extend the session time out:
http://www.webmasterworld.com/forum88/12812.htm


as for the idea of storing the cart in a database, you would need for your users to login first for this idea to work.

The user would need to login so that you know the users ID, you need to know the users ID so that when the cart is stored, it is stored for that specific user, you can then create a recordset to return the items in the cart by the user ID and use the populate cart from recordset behavior.

extending the time out is much simpler way to fix this.

Sign in to reply to this post

jon211112

Hi Jason

Excellent. Thanks for the speedy reply. I will certainly extend the timeout so will try that now.

The site actually doesn't allow the viewing of products without being logged in (it's a trade site so only trade customers can access and order) so knowing the ID isn't a problem. I must admit I'd completely overlooked the populate cart from recordset behaviour. I reckon that should sort it all nicely.

Many thanks

Jon

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...