PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Aug 25, 2010 2:37 pm Post subject: |
|
|
Try this out: in index_dl.pm find
| Code: | if($file->{usr_id})
{
$ses->setCookie("aff",$file->{usr_id},'+14d');
} |
and add below:
| Code: | if($ENV{REQUEST_URI}=~/affil=(\d+)/)
{
$ses->setCookie("aff",$1,'+14d');
} |
|
|