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

JSON and PHP

Here at Livewire, Gainesville Web Design headquarters, we have had a couple of projects recently that allowed us to work with JSON and PHP. Initially it may seem a bit strange for PHP experts to want to embed javascript functionality in their code base but the two work

When To Get A New Mac

When To Get A New Mac

MacBook Running Hot and Sluggish? It Might Be Time for a New One If your MacBook Pro has started running hot, fans are constantly spinning, and everything from Safari to Finder feels like it’s stuck in molasses—you’re not alone. These are some of the most common signs that

Early Learning Coalition Has A New Website

The ELC of alachua county came to us looking for some help with their current website. They had evidently been hacked on their Joomla installation and there were a number of issues that rippled out from that. We attempted to fix the installation but the site was outdated

You get 15 seconds! Web Design Trends for 2016

Mobile is in and users are becoming increasingly impatient. In 2014, 55% of users spent less than 15 seconds on a webpage according to data by Tony Haile of Chartbeat.  This means you only have 15 seconds to capture a users attention and convert a visitor to a customer.

Choosing The Right Domain

Finding the right domain can be a arduous process. That is, unless of course you are lucky enough to find your business name in the exact form you desire. More often than not, obtaining a great domain takes a lot f time, mental energy and cautious anxiety. Will

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