Answer the question
In order to leave comments, you need to log in
How to increase cookie lifetime?
Good afternoon, please tell me where to dig)
I work with an affiliate program, if a person after my site goes to the partner’s site and makes a purchase, I will receive deductions. But they indicate that Cookies live for a day, how can you increase their lifespan? (for sure you can do it manually on my site) where to look for info? because I have not worked with Cookie before
Answer the question
In order to leave comments, you need to log in
Their site exposes, not yours. They monitor the visitor who came from your site and send him cookies that have a 24 hour time limit - this is their policy. That is, a person who clicked on a link from your site will be considered to have passed through the affiliate program for a day and no more. If a person referred from you, but did not buy anything in 24 hours, and then after 2 days went to their site, then the cookies have already expired and their site will not count you as a referral.
And you give out "your" cookies for at least 10 years - your partner site doesn't care. They do not read your cookies, but their own.
because I have not worked with Cookie beforewell, can google php cookies?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question