uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
cookie expiration...

Knowledge Base Lobby : uShop Support Conference : General Questions
Jul-21-18 03:58 AM EST
Original Message
cookie expiration...
Author Clark Pearson on 02-20-2002 at 21:02 (EST)
How do I set the cookies in the affiliate program to expire later? Like 30 days, 60 days, 90 days, 180 days...


Table Of Contents
  RE: cookie expiration... Bill Weiner, 2002-02-21 05:10:25 (1)

Messages In This Discussion
         1. RE: cookie expiration...
        Author Bill Weiner on 02-21-2002 at 05:10 (EST)
There's not a simple configuration variable that allows you to change the affiliate cookie expiration time, but here are instructions on how to make a quick modification to the script:

STEP 1: Make a backup of your current "" script... just in case.

STEP 2: Open your "" script with any text editor such as WordPad.

STEP 3: Do a search on the following line:

$time_to_expire = time + 604800; # Expire in one week.

STEP 4: Change the "604800" seconds in that line to your desired time. For instance, if you wanted it to expire in 30 days, change that line to:

$time_to_expire = time + 2592000; # Expire in 30 days.

(Where 2592000 was calculate by multiplying 86400 seconds per day X 30 days)

STEP 5: Save the file... as TEXT if your editor asks... and try it out!

© 2003 Microburst Technologies, Inc.