Does this related issue belong to cross-domain related issues? How to solve it

Source: Internet
Author: User
Is this question a cross-domain issue? How do I fix it?
For example there is a PHP Web site with an IP address of 222.1.2.3 Domain name is www.abc.com in the site root directory has one or two level directory Dir2

Now you need to use IP to access this site, log in and save the session variable. Then access the level two directory through a domain name
Www.abc.com/dir2 The following page, the request if the IP access under the login, under the domain name access is also logged in status.
Is this question a cross-domain issue? How do I fix it?
------Solution--------------------
I don't think it is. I do not know what other small partners will be thinking.
------Solution--------------------
You can do it yourself, you know?
------Solution--------------------
Why not unify, change to change.
------Solution--------------------
IP and domain names are cross-domain
LocalHost and 127.0.0.1 are cross-domain.
The demand is a bit strange, the domain name and IP why should separate use?
------Solution--------------------
The same machine is not cross-domain.
------Solution--------------------
This situation can be considered with cooikes.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.