Re: Affiliate system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, September 13, 2006 12:58 am, Peter Lauri wrote:
> What should I do if they do not allow cookies? I could amend a=1234
> onto
> every url that they pass, but that would not be a "beautiful"
> solution.

PHP's use transsid setting in php.ini does exactly that, only with the
session ID, and you don't have to do nothing except turn it on. :-)

> Maybe I can also create a SESSION that stores the affiliate
> information so
> that it at least get registered if the purchase is completed within
> the
> session?

Using PHP SESSION with the transsid "on" means you can have the
session last reliably for up to 2 years, if you want to.

That's what I would do, personally, and then you can simplify your
code quite a bit...

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux