www.uburst.com www.uburst.com

"cookie expiration..."

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

General Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"cookie expiration..."
Posted by Clark Pearson on Feb-20-02 at 09:02 PM (EST)
How do I set the cookies in the affiliate program to expire later? Like 30 days, 60 days, 90 days, 180 days...

Thanks!

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: cookie expiration..., Bill Weiner, Feb-21-02, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: cookie expiration..."
Posted by Bill Weiner on Feb-21-02 at 05:10 AM (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!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.