Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

persistent connections


Havock

Recommended Posts

Posted

Greetings Ladies and gentlemen,

 

While testing my site performance with gtmetrix, I saw that persistent connections were advised.

 

I know that in the configure files there's a line such as this :

 

define('USE_PCONNECT', 'false'); // use persistent connections

 

This information is then used in the database.php

 

 

if (USE_PCONNECT == 'true') {
      $server = 'p:' . $server;
}

 

However in all the years I've been reading posts on oscommerce forums, I've seldom seen USE_PCONNECT set to true. So I wonder why !

 

Is there something wrong with using persistent connections with osc ? Can it cause problems with sessions or payment modules ?

 

Any input would be welcome :)

Posted

The persistent connections shown in the speed test isn't the one mentioned in the configure file. For the former, check that your account on the server has the keep-alive setting enabled. There are tests on the web that report this but they may return incorrect results, depending upon how your server is setup. The best thing to do is to ask your host to verify that option is enabled.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

  • 5 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...