Tuesday, September 23, 2008

Cookies, so yummy!



Over the past few months, we've had several customers of Ricambi America inform us that the online Ferrari, Maserati , and Lamborghini parts catalogs and exploded parts diagrams on our website weren't properly displayed.  Huh?  Although I absolutely believed their description of the problem, I was never able to properly reproduce the error, than therefore unable to solve the problem.  Afterall, we really believe our on-line parts diagrams are a great addition to the Ferrari parts world, and make for a richer shopping experience on our site.

Anyway, after installing the new Google Chrome browser, I began playing with some security settings.. then checking out how our site looks.   BANG!   I suddenly saw the exact same error that our customers had reported.  Oddly, when attempting to see the diagrams, the site would redirect to a "Error 404, page not found" error.   Egads!   

As it turns out, our site places a cookie on the vistors computer for standard shopping cart functionality and to determine the vistors screen resolution.  Why screen resolution?  The on-line diagrams attempt to resize themselves for each unique vistor to ensure as much of the image is presented on a single screen without those annoying scroll bars.  Without that cookie, the site wouldn't know what size picture to draw.    Our site, which runs Apache, was slamming customers to a 404 error when the cookie couldn't be set, and therefore the site couldn't redirect to the correct image sizing programs.   Blah blah blah... it was frustrating to customers for sure!!

Now, vistors seeking original, genuine Ferrari parts on our website will be presented with a nicer 'notification' page if the cookies aren't set, and gently ask them to adjust their browser settings. 




The good news is that with some simple browser settings, now everyone can enjoy the Ricambi America site.


No comments: