Session Timeouts

We’re currently fixing a set of issues with a shopping cart created through a different developer for a local client. They did a pretty good job but forgot about session timeouts. A lot of developers gloss over this aspect of their ecommerce site and unfortunately customers pay the price. Sessions are what is created to essentially track you when you first log on to a ecommerce site. This isn’t the bad kind of tracking, this is used for things like keeping items in your cart, logging in and account navigation.

W3C defines them as “A PHP session variable is used to store information about, or change settings for a user session. Session variables hold information about one single user, and are available to all pages in one application.”

By default sessions usually only last 24 minutes (1440 seconds) in PHP websites, or end when the browser is closed. This is fine for many websites and applications, often desired, but not generally a good idea for ecommerce websites. Why? because why would you want to have to put everything back into your shopping cart if you’ve been inactive for 30 minutes. If you close your browser and come back to shop the next day at the same website, you want your items to still be in there, waiting for you, right?

This is a huge potential non-starter for many folks. Even if they use your website once or twice it may promote them to look elsewhere if your website is annoying or making them have to do additional tasks. Luckily session timeouts are easily rectified in a number of ways which usually depend on your server setup. You can set timeouts on-page, in a php.ini file or through server setting if provided by the host. The point is, if you have a shopping cart, make sure your customers aren’t being aggravated by short session timeouts. It’s important.

More Web Design Blog Content

Netgear Routers Are Terrible

Why did we purchase this product for our office? What a mistake. Range on this router is about 4 feet before the signal drops off significantly. Speeds are sketchy and we experienced significant slowdown periods throughout the day. Connections lost – impromptu port disabling, you name it. If there

Some Homepage Best Practices

Building an effective website begins with a well-designed home page. Because it’s the first thing people see, the homepage must make a nice impression while also pointing the user in the right direction. If you want your homepage to be successful, you should follow these guidelines. Make sure

WordPress Custom Post Type Category Images : Solved

If you’re a WordPress developer, you’ve probably been here. You want to use images for your categories, but they are custom taxonomies. Here’s how to solve that issue. We’re using a plugin called “Category Images” by Muhammad Said El Zahlan. Download, install and activate the plugin. Now you can

OpenCart CCBill Payment Module ★★★★

4 Stars for this plugin. It worked, that part is true but we had to make some modifications and there were some syntax issues with the PHP. Overall though, a solid plugin for opencart and the ONLY one we found worth a darn for CCBill. We think our

An Accessibility Mindset

How often do you receive this response when inquiring about making a website more accessible? We wish we could devote more resources to it, but at the moment we just don’t know enough to get started. The value and necessity of making websites accessible are generally recognized. Almost

web design north carolina

B2B Social Marketing

Social media marketing is usually not as important for business-to-business (B2B) businesses because most of their customers find them through word-of-mouth or a lot of online searching. Many B2Bs are also in ‘dry’ or serious businesses that don’t work well with pictures. But a social media marketing plan