Home >Backend Development >PHP Tutorial >Does session_id have to be under the same domain name to obtain data?
Does session_id have to be under the same domain name to obtain data?
Does session_id have to be under the same domain name to obtain data?
Commonly used sessions rely on cookies to implement, so they also depend on the domain of the cookie, so they cannot be shared across domains. If you want to share across domains, you need to make other adaptations.