I
I
Ilya Parshakov2018-08-22 09:04:07
Sessions
Ilya Parshakov, 2018-08-22 09:04:07

How to transfer data between domains and subdomains?

Hello.
I ran into a problem when transferring data from one subdomain to another (or from the main domain to a subdomain).
If you write data to a session, then when you switch to another subdomain, they are lost, as they remain in another session of the subdomain (as I understand it). All data transfer is scheduled for an unauthenticated user.
Please tell me how to do it right?
Thanks in advance to all who respond!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2018-08-22
@parschakov

It is correct to write the session domain as .domain.tld.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question