Post by kwon255 » Sun Apr 22, 2018 7:23 pm

Hi,
I read a few posts on the cookie length and they all say to edit the main index.php and look for the below code.

Code: Select all

setcookie('tracking', $request->get['tracking'], time() + 3600 * 24 * 1000, '/');
However, I don't have this code in my index.php code. Has this been changed for OC 3.x? When can I see and change the default affiliate cookie expiry in 3.x please?

Thank you in advance,

Krasi

Newbie

Posts

Joined
Thu Aug 24, 2017 4:44 am

Post by OSWorX » Wed Apr 25, 2018 3:45 pm

Don't know where you have beeen read what.
See:

Code: Select all

..catalog/controller/startup/startup.php

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by khnaz35 » Fri May 29, 2020 6:27 pm

OSWorX wrote:
Wed Apr 25, 2018 3:45 pm
Don't know where you have beeen read what.
See:

Code: Select all

..catalog/controller/startup/startup.php
Thanks that helped

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia
Who is online

Users browsing this forum: No registered users and 125 guests