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?

WBOY
Release: 2016-07-06 13:53:09
Original
1058 people have browsed it

Does session_id have to be under the same domain name to obtain data?

Reply content:

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.

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template