uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
cookie expiration...

Knowledge Base Lobby : uShop Support Conference : General Questions
Dec-17-17 12:46 PM 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...

Thanks!
E-MAIL AUTHOR | TABLE OF CONTENTS

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 "ushop-lib.pl" script... just in case.

STEP 2: Open your "ushop-lib.pl" 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!
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.