urloscommerce

Remove OScsid id from URL in osCommerce


I am trying to remove OSCSID id from url in osCommerce but didn't able to success.

Below is my code for that.

define('HTTP_COOKIE_DOMAIN', 'http://www.domainname.com');
define('HTTPS_COOKIE_DOMAIN', 'http://www.domainname.com');

Is there any other way to remove this id from URL?


Solution

  • I have found the solution for above my question.

    For removing OSCSID from site url, kindly follow below steps.

    Go to the back-end section -> configuration -> session -> Force Cookie Use -> Enable this option and check at front-end side. OSCID will be removed from URL.

    Note: You cannot use shared ssl with Force Cookies on.