Yesterday another local project, the front-end access interface via ajax, but the value of the session can not be obtained, the scene I have problems as follows
After a session in the interface by setting the value to jump to a html page, a page and then access another interface via ajax, but this interface can not get to the value of the session, looking for a long time to find the cause: the interface is accessed through 127.0. 0.1, ip access, but html pages call interface is accessible via localhost, so I can not get, need to change 127.0.0.1
1, to confirm whether the session setter normal
2, confirmed under the same domain name