|
laoonaSep 22, 2016
1
跨域,默认的 ajax 请求,是不带任何请求凭证的,设置 xhr 的 withCredentials =true
|
|
2
你说的 session 我默认用的 cookie 机制,看这里
https://stackoverflow.com/questions/14462423/cross-domain-post-request-is-not-sending-cookie-ajax-jquery |