A
A
AE422020-06-13 23:47:51
Nginx
AE42, 2020-06-13 23:47:51

How to make a redirect with a cookie record?

Hello!

There are 2 domains
test.ru & testtest.ru

Is it possible to make a redirect from the test.ru domain to testtest.ru and at the same time add a new string to the cookie on the site testtest.ru?

I have a referral link test.ru/DFADF - my abbreviated domain with a referral code
After opening the link test.ru/DFAFF we are redirected to the main page testtest.ru and created an entry in the cookie referral = DFADF

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question