There is a site with many subdomains, i.e. moskva.site.ru, piter.site.ru, kazan.site.ru, etc.
I use codeigniter 3 and its native session mechanism (with storage in the database).
At the same time, if authorization occurs on one subdomain, then when switching to another subdomain, you have to log in again. How to fix it?
Those. I want the authorization to occur within the entire site, and not a separate subdomain.